Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucaangioloni/fit-covid19
Easy model to fit logistic curve to COVID19 data from Italy. Demo: https://fit-covid19.herokuapp.com
https://github.com/lucaangioloni/fit-covid19
contagi-giornalieri coronavirus covid-19 covid-virus covid19 demo forecasting italy logistic prediction python regression scikit-learn totale-contagi
Last synced: 3 months ago
JSON representation
Easy model to fit logistic curve to COVID19 data from Italy. Demo: https://fit-covid19.herokuapp.com
- Host: GitHub
- URL: https://github.com/lucaangioloni/fit-covid19
- Owner: LucaAngioloni
- License: mit
- Created: 2020-03-13T13:53:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T16:35:26.000Z (about 3 years ago)
- Last Synced: 2024-10-09T13:52:54.262Z (3 months ago)
- Topics: contagi-giornalieri, coronavirus, covid-19, covid-virus, covid19, demo, forecasting, italy, logistic, prediction, python, regression, scikit-learn, totale-contagi
- Language: Python
- Homepage:
- Size: 153 KB
- Stars: 16
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# fit-COVID19
Easy model to fit logistic curve to COVID19 data from Italy.Data is taken from [this official repo](https://github.com/pcm-dpc/COVID-19)
Live demo: https://fit-covid19.herokuapp.com
(It could be slow because it is a free heroku app)For single regions:
https://fit-covid19.herokuapp.com/regione/nome(Ex. Toscana: https://fit-covid19.herokuapp.com/regione/Toscana)
## Predictions for Italy:
```bash
usage: fit.py [-h] [--img IMG] [--avg AVG] [--style STYLE]Modello COVID-19 in Italia.
optional arguments:
-h, --help show this help message and exit
--img IMG y, save imgs - n do not save imgs
--avg AVG if > 1 draw plot of avg last --avg days.
--style STYLE [normal, cyberpunk] : normal, standard mpl - cyberpunk,
cyberpunk style
--old_pred OLD_PRED if True plot also the prediction curve from a week ago.
```## Predictions for a region:
```bash
usage: regione_fit.py [-h] --regione REGIONE [--img IMG] [--avg AVG] [--style STYLE]Modello COVID-19 per regione.
optional arguments:
-h, --help show this help message and exit
--regione REGIONE Nome regione su cui effettuare le predizioni.
--img IMG y, save imgs - n do not save imgs
--avg AVG if > 1 draw plot of avg last --avg days.
--style STYLE [normal, cyberpunk] : normal, standard mpl - cyberpunk,
cyberpunk style
--old_pred OLD_PRED if True plot also the prediction curve from a week ago.
```## Examples
![Totale contagi](https://fit-covid19.herokuapp.com/imgs/Contagi.png?rel=true "Totale contagi")
![Contagi giornalieri](https://fit-covid19.herokuapp.com/imgs/Nuovi%20Contagiati.png?rel=true "Contagi giornalieri")If you know this stuff and you think you can contribute please just let me know: fork this repo, pull request, star this repo, send me an email.
### Requirements
- Python >=3
- Pandas
- Numpy
- ScyPy