Run the following commands to clone this repo and create the Conda environment:
git clone https://github.com/IanShi1996/PAN-cODE.git
cd PAN-cODE
conda env create -f environment.yml
conda activate covidforecast
Update timestamps as appropriate in lib/Constants.py
, then run:
python get_country_data.py
Train the PAN-cODE model using train.py. Hyperparameters can be specified using command line arguments, as documented in train.py.
The summarize.py script can be used to generate forecasts for integration with the COVID-19 forecast hub.