covid19forecast-1.1.0
توضیحات
Python Package to get Covid19 Forecasting For all Cases Every Country in future using FBProphet Model
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | covid19forecast-1.1.0 |
| نام | covid19forecast |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Falah.G.Saleh |
| ایمیل نویسنده | falahgs07@gmail.com |
| آدرس صفحه اصلی | https://iraqprogrammer.wordpress.com/ |
| آدرس اینترنتی | https://pypi.org/project/covid19forecast/ |
| مجوز | - |
# 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
نیازمندی
| مقدار | نام |
|---|---|
| - | fbprophet |
| - | pandas |
| - | matplotlib |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl covid19forecast-1.1.0:
pip install covid19forecast-1.1.0.whl
نصب پکیج tar.gz covid19forecast-1.1.0:
pip install covid19forecast-1.1.0.tar.gz