COVID-19 Confirmed Infection Growth Prediction with Non-Pharmaceutical Interventions and Cultural Dimensions
The released publication of this work may be found here:
- Machine Learning–Based Prediction of Growth in Confirmed COVID-19 Infection Cases in 114 Countries Using Metrics of Nonpharmaceutical Interventions and Cultural Dimensions: Model Development and Validation (Journal of Medical Internet Research, 2021).
The main pipeline used in this study is in Experiment.ipynb. The library ml_pipeline.py contains functions used in the pipeline.
There are two directories:
./data/contains the 3 data sets used in this study./figures/contains the figures shown in the publication. RunningExperiment.ipynbwill generate figures in this directory
Running Experiment.ipynb will generate the tables and figures shown in the publication. Settings of the study may be modified in cell 4 of this notebook. These settings include:
time_series_split_method:Trueruns the out-of-distribution validation method,Falseruns the in-distribution validation method. The country-based cross-validation method is ran additionally, regardless of the value of this parameter.run_models: Boolean dictionary indicating which models to run.Trueincludes the model in the experiment.Falseexcludes the model from the experiment.times_new_roman:Truegenerates figures with the Times New Roman font.Falsegenerates figures with the default font.
This work is co-authored by Arnold YS Yeung, Francois Roewer-Despres, Laura Rosella, and Frank Rudzicz.