The minimal working example (MWE) is provided below.
- Google Colab access or GPU-enabled machines
- Python 3.7 or above
- R 3.5.1 or above
Simply run the following commands from the root m4r_project
folder:
cd sweden_bart/R
./run_monthly.sh
This will produce plots and saved models in the sweden_bart/saved/
folder. Then open notebooks/sweden.ipynb
and configure to run the XGB-GP models and full analysis.
Simply run the following commands from the root m4r_project
folder:
cd usa_bart/R
./run_monthly.sh
This will produce plots and saved models in the usa_bart/saved/
folder. Then open notebooks/usa.ipynb
and configure to run the XGB-GP models and full analysis.
src/
contains code used for data engineering and collection.