rfsilva1 / covid19timeseries

This repository contains the code and datasets for the paper Use of econometrics and machine learning models to predict the number of new cases per day of COVID-19, accepted at the SBCAS 2020 (20º Simpósio Brasileiro de Computação Aplicada à Saúde) scientific event.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use of econometrics and machine learning models to predict the number of new cases per day of COVID-19 - Code and datasets

Description

This repository contains the code and datasets for the paper Use of econometrics and machine learning models to predict the number of new cases per day of COVID-19, by Roberto F. Silva, Bruna L. Barreira, Fernando Xavier, Antônio M. Saraiva, and Carlos E. Cugnasca. This paper was published at the SBCAS 2020 (20º Simpósio Brasileiro de Computação Aplicada à Saúde) scientific event. Descriptions of the implementation and the dataset are contained in the paper (link: https://sol.sbc.org.br/index.php/sbcas/article/view/11525/11388). The code is composed of 3 Colab notebooks:

  1. Adaboost_for_newcases___Final_Github.ipynb -> contains the implementations of the AdaBoost
  2. Gradient_Boosting_for_newcases___Final_Github.ipynb -> contains the implementations of the GBR
  3. Sarima_Arima_Ensembles___Final_Github.ipynb -> contains the implementations of the Sarima, Arima, and all Ensemble models (econometrics ensembles: (i) Arima+Sarima; (ii) ML ensembles: AdaBoost+GBR; and (iii) ensembles of all models: Arima+Sarima+AdaBoost+GBR

The code was developed by Bruna Lobato Barreira and Roberto Fray da Silva.

Reference of the paper and to cite this repository: SILVA, R. F.; BARREIRA, B. L. ; XAVIER, F. ; SARAIVA, A. M. ; CUGNASCA, C.E. . Use of econometrics and machine learning models to predict the number of new cases per day of COVID-19. In: 20 Simpósio Brasileiro de Computação Aplicada à Saúde (SBCAS), 2020, Salvador. Anais do 20 Simpósio Brasileiro de Computação Aplicada à Saúde (SBCAS), 2020. v. 1.

To Do (further research, out of the scope of this paper):

  • substitute the hardcoded values on the ensembles notebook
  • optimize code for deployment in production (there are several parts of the code that can be improved)
  • deploy code for daily evaluation
  • incorporate new variables (socioeconomic, population density, etc) and more recent data
  • automate data collection
  • automate model choice and hyperparameters (AutoML with Optuna?)
  • optimize gridsearch for arima and sarima (Optuna?)
  • evaluate other models, both unsupervised and supervised
  • evaluate other options of feature engineering

Credits for the code:

The code was implemented using Google Colab to improve replicability (https://colab.research.google.com/) and was based on the following:

The authors would like to thank the authors of the codes for providing them as examples for the use of the libraries and model implementation.

The authors would also like to thank all the developers that were and are involved on the development of the following Python libraries:

Credits for the dataset:

The authors would like to thank the following institutions/researchers for providing the data collected:

Acknowledgements:

This work was supported by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brazil (CAPES) - Finance Code 001, Itaú Unibanco S.A. through the Itaú Scholarship Program, at the Centro de Ciência de Dados (C2D), Universidade de São Paulo, Brazil, and also by the National Council for Scientific and Technological Development (CNPq).

About

This repository contains the code and datasets for the paper Use of econometrics and machine learning models to predict the number of new cases per day of COVID-19, accepted at the SBCAS 2020 (20º Simpósio Brasileiro de Computação Aplicada à Saúde) scientific event.


Languages

Language:Jupyter Notebook 100.0%