Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katanaml/covid19
COVID-19 Growth Forecast
https://github.com/katanaml/covid19
covid-19 forecasting-models prophet-model python
Last synced: about 2 months ago
JSON representation
COVID-19 Growth Forecast
- Host: GitHub
- URL: https://github.com/katanaml/covid19
- Owner: katanaml
- License: apache-2.0
- Created: 2020-04-02T10:32:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T19:56:16.000Z (about 2 years ago)
- Last Synced: 2024-05-01T10:10:33.051Z (8 months ago)
- Topics: covid-19, forecasting-models, prophet-model, python
- Language: Jupyter Notebook
- Homepage: https://katanaml.io
- Size: 36.1 MB
- Stars: 12
- Watchers: 3
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# COVID-19 Growth Forecast
**EUvsVirus Winners**: COVID-19 Forecasting team, Social & Political Cohesion, https://euvsvirus.org/results/
Web UI (data is updated daily): https://app.katanaml.io/covid19/
Katana ML Docker container with backend code: https://hub.docker.com/r/katanaml/light-runtime
Article I: https://bit.ly/2XHjL4P
Article II: https://bit.ly/2RMB14V
About: The forecast is based on two equations: Logistic and Hill. Both generate sigmoid, Hill in most of the cases generate a better result, it is producing not symmetric sigmoid. Backtesting is done for both methods by forecasting for five days in the past. If the backtesting forecast is above the current forecast, means the current situation is better than it was forecasted. If the backtesting forecast is below the current forecast, means the current situation is worse than it was forecasted..
Technology: Python, Prophet
Author: Katana, Red Samurai Consulting, Andrej Baranovskij
## Instructions
covid19_endpoint.py - Flask endpoint
covid19_scheduler.py - Re-training scheduler
covid19_model.py - model construction
## UI Instructions
UI in folder covid-uiapp is implemented with Oracle JET (https://www.oracle.com/webfolder/technetwork/jet/index.html) open-source JavaScript toolkit, which is based on Open-Source JavaScript libraries such as Knockout, RequireJS, JQuery, etc.
You must have Node.js installed, install Oracle JET as Node.js library (https://www.oracle.com/webfolder/technetwork/jet/globalGetStarted.html):
```
npm install -g @oracle/ojet-cli
```
Go to covid-uiapp folder and run these commands to start UI locally (make sure baseURL is set correctly in appController.js):```
ojet restore
```
```
ojet serve
```
If you want to run Oracle JET UI app on the server, you can wrap it into Node.js app and deploy with Docker container. Explanation here: http://andrejusb.blogspot.com/2019/09/running-oracle-jet-in-oracle-cloud-free.html## API
(POST) curl --data "country=Lithuania_cases" https://app.katanaml.io/katana-ml/api/v1.0/forecast/covid19
(GET) curl https://app.katanaml.io/katana-ml/api/v1.0/forecast/covid19/countries
(GET) curl https://app.katanaml.io/katana-ml/api/v1.0/forecast/covid19/stats
## License
Licensed under the Apache License, Version 2.0. Copyright 2020 Katana ML. [Copy of the license](https://github.com/katanaml/covid19/blob/master/LICENSE).