The current COVID-19 pandemic and common flu highlight the importance of time-sensitive information in biomedical institutions, politics, and economics. The application of data science in creating real-time predictive models is crucial to help researchers and world leaders better understand disease spread and take preventative measures.
Four weeks ahead Flu prediction residual between groundtruth and prediction for 10 states
- Requirements
>>> pip install -r requirements.txt
- Train models and make prediction (Model already trainned in the submission)
>>> python3 run.py --config_filename=data/model/dcrnn_cov.yaml
- For Test, run the following command
>>> ./test.sh
-
Visualization
- After running the command for test, a new folder named plot_weeknumber_result will appear containing [0.025, 0.5, 0.975] residual predictions the .npz files
- Select the one with lowest MAE score
- Run the flu_forecast_result_plot notebook
>>> docker build -f ./Dockerfile -t Dockerfile .
>>> docker run --rm -it Dockerfile /bin/bash
>>> launch.sh -i xiangyikong/dsc180a:latest #Use this command below to launch the image in DSMLP