imildositoe / coronavirus_predictor

Python machine learning Corona virus predictor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coronavirus Predictor

THIS REPOSITORY CONTAINS A MODEL TO PREDICT THE CORONA VIRUS TREND IN A DAILY BASIS

ABOUT & GUIDELINES banner-coronavirus_0

The program runs a pure python code to create a model to predict how many cases will be generated in the selected area within a defined interval of 30 days. The code uses pandas, numpy, matplotlib.pyplot, sklearn.preprocessing, PolynomialFeatures, and sklearn libraries to support the manipulation and visualization of results.

The source code is divided by:

Loading the data
Preparing the data
Training the data
Predicting the result

RESULT ploted_graph

The result of the code is shown as a ploted linear regression function visualizing the the best fit model for the given number of cases as well as the prediction in 30 days. The below lines can be used as a legend for the generated graph (color: legend):

Magenta: initial given number of cases
Blue: traininng function
Red: prediction 1

About

Python machine learning Corona virus predictor


Languages

Language:Python 100.0%