Skip to main content

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

Metadata

Release files for covid19forecast 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for covid19forecast 1.1.0
File Size Uploaded
covid19forecast-1.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for covid19forecast 1.1.0
File Interpreter ABI Platform
covid19forecast-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / covid19forecast-1.1.0.tar.gz

Download URL covid19forecast-1.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
998f4066c47802aa616b8fbab32ebfd63c615b28f2db7aaa73f5d93733c8c221
BLAKE2b-256 checksum
How to use checksums
8f4023bb364016e667fce83a9167b6370afa790b32212c555541fabbe6d64144
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.0

Release files / covid19forecast-1.1.0-py3-none-any.whl

Download URL covid19forecast-1.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4e533bd3078cf88ddabaa5e763cd068ab8046cb4a929e430ee45c9916bc825d
BLAKE2b-256 checksum
How to use checksums
91f0c648b554783e6f226f9a5ab375a4b773b2d0e02d81dccf6bc7fc1c25e4a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page