COWAVE

Daily COVID-19 case data for every country, labelled day by day as wave or non-wave, with engineered features and baseline classifiers for predicting waves.

COWAVE: a labelled COVID-19 wave dataset for building predictive models overview

What it is

Every country went through several waves of COVID-19, each putting heavy strain on hospitals. If the start of a wave could be predicted, health systems would have time to prepare. Supervised machine learning could help, but it needs labelled examples, and there is no agreed definition of what counts as a “wave” rather than a short outbreak.

COWAVE fills this gap. It takes the daily new-case counts for all countries published by the World Health Organization (WHO) and labels each day as part of a wave or not. The paper compares three ways of defining a wave: the stretch between peaks or troughs, a rapid doubling of cases, and a new definition based on how far, and for how many days, cases deviate from their underlying level. That new definition matches how people visually recognise waves, and it supplies the labels. Alongside the labels, COWAVE provides features derived from the case time series, such as the previous 20 days of cases, summary statistics, and the trend, seasonal and residual parts of a time-series decomposition.

Why it matters

  • Ready for supervised learning. Wave and non-wave labels let anyone train and compare classifiers that predict waves from case counts.
  • A baseline to beat. A tuned XGBoost classifier using 13 selected features reached a recall of 0.933 and accuracy of 0.794 on held-out countries. An untuned SVM baseline managed recall below 0.2. This sets a minimum standard for future models.
  • Reproducible and extendable. The code that generates the labels and features works on any file in the WHO format, so the dataset can be regenerated as new data arrive.

Using COWAVE

Download the data from the repository. Data/COWAVE.csv is the complete dataset, built from WHO data up to 27 May 2022. Three intermediate versions are also provided: daily labels (v1), labelled wave and non-wave stretches (v2), and 21-day case windows with the decomposed time series (v3). In Codes/COWAVE_gen.py, labeller_1(), labeller_2() and feature_gen() regenerate these files from a WHO-format CSV. svm.py and xgb_bayesopt.py reproduce the baseline and XGBoost classifiers from the paper.

How to cite

If COWAVE helps your research, please cite:

Melpakkam Pradeep, Karthik Raman (2023). COWAVE: A Labelled COVID-19 Wave Dataset for Building Predictive Models. PLoS ONE 18:e0284076. doi:10.1371/journal.pone.0284076

BibTeX
@article{Pradeep2023COWAVE,
  author  = {Melpakkam Pradeep and Karthik Raman},
  title   = {COWAVE: A Labelled COVID-19 Wave Dataset for Building Predictive Models},
  journal = {PLoS ONE},
  year    = {2023},
  volume  = {18},
  pages   = {e0284076},
  doi     = {10.1371/journal.pone.0284076}
}