A package for predicting the number of daily deaths
Project description
COVID-19 daily death prediction
deathdaily is a Python program using new_deaths.csv for predicting daily deaths due to COVID-19 in the next seven days. The prediction is based on the Xthe degree polynomial fitting.
X-axis is the xth day from Jan.22 2020 to the day you have downloaded new_deaths.csv file. Y-axis depicts the number of daily deaths in the country.
new_deaths.csv
deathdaily needs a new_deaths.csv file for predicting the daily deaths of the next seven days.
The new_deaths.csv file is automatically downloaded by deathdaily from the following site:
https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/jhu/new_deaths.csv
How to install deathdaily
$ pip install deathdaily
How to run deathdaily using country with days and degree of polynomial curve-fitting
"country" shows which country you would like to predict the daily deaths of the next seven days.
"days" indicates how many days are used for Xth degree polynomial curve-fitting.
"degree" determined the degree of polynomial curve-fitting.
$ deathdaily Japan days degree
$ deathdaily Japan 450 7
country="Japan", days=450, degree=7
$ deathdaily Japan 450
$ deathdaily Japan
$ deathdaily "United States" 455 7
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
Built Distributions
Hashes for deathdaily-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4bb4b0e3bec9681ba5ef9d0cd90838c6345fc7f3eae74dc15ea93c5309e3ef8 |
|
MD5 | a43dcb26bbdee526cf1621f8909043e0 |
|
BLAKE2b-256 | d4baa39e393b4122f9c2f28e056f5a8b0bb05b34194aba4e6149afa459b741ff |