Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).