Python Package to get Covid19 Forecasting For all Cases Every Country in future using FBProphet Model
Project description
Covid19 Forecasting For all Cases in future using fbprophet model
about
Python Package to get Covid19 Forecasting For all Cases in future
Installation
pip install covid19forecast
or in colab google cloud
!pip install covid19forecast
Usage for get first cases (confirmed,recoverd,deaths for any countery)
from covid19forecast import cases
# country name
country='Iraq'
#path for covide19 dataset
path_csv='covid_19_data.csv'
#name of folder
dir_name='Iraq'
# name of out result for all cases in new dataset
out_csv='iraq.csv'
# what days number to forecasting for any case
next_periods=10
# what name of dataset for all forecasting for any case
csv_name='iraq.csv'
# to get all cases for country
all=cases.all_cases(country,path_csv,dir_name,out_csv)
# to get confirmed cases for country
confirmed=cases.confirmed_case(country,path_csv,dir_name,out_csv)
#to get deaths cases for country
deaths=cases.deaths_case(country,path_csv,dir_name,out_csv)
#to get recoverd cases for country
recoverd=cases.recoverd_case(country,path_csv,dir_name,out_csv)
Usage for get Forcasting for all cases (confirmed,recoverd,deaths for any countery)
from covid19forecast import forecast
# to get forecasting for country confirmed case
forecast.confirmed_forecast(confirmed,next_periods,dir_name,csv_name,country)
# to get forecasting for country deaths case
forecast.deaths_forecast(deaths,next_periods,dir_name,csv_name,country)
# to get forecasting for country recoverd case
forecast.recoverd_forecast(recoverd,next_periods,dir_name,csv_name,country)
Checking
To verify the retrieved data within this library go to web site to get download new covid19 dataset
https://www.kaggle.com/sudalairajkumar/novel-corona-virus-2019-dataset
Tutorial
u can see tutorial in colab
https://colab.research.google.com/drive/12TnzM0E-oZgsrwlaQ5vYCdhsym6UDNUa
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
covid19forecast-1.1.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for covid19forecast-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e533bd3078cf88ddabaa5e763cd068ab8046cb4a929e430ee45c9916bc825d |
|
MD5 | c266515ccee1239b94e5af59231298ca |
|
BLAKE2b-256 | 91f0c648b554783e6f226f9a5ab375a4b773b2d0e02d81dccf6bc7fc1c25e4a2 |