Reproduce findings from a ambulance forecasting study
117
You will need docker installed on your local machine from https://www.docker.com/products/docker-desktop
sudo apt-get install docker.iodocker pull tommonks01/swast-benchmark:latest
# launch the image in interactive mode; map local port 8080->80 on image
docker run -it -p 8080:80 --name swast_docker swast-benchmark
Your terminal will now be in the local docker image. Issue the following commands
# switches to the ambo_benchmark virtual environment
conda activate ambo_benchmark
# launch jupyter lab. Defaults are no-browser; port=80; ip=0.0.0.0
jupyter-lab
Open the browser on your local machine enter the following address
localhost:8080 (Juypter lab opens in the repo's directory)The results files are included in the repo. To quickly reproduce the tables, figures and statistics included in the results section of the paper run the top level notebook results_summary_main.ipynb. The notebook will display 'most' of the outputs; the appendix tables are not practical to output. All outputs including the appendix can also be found in appendix/
Note: the below executes a large number of Time Series Cross Validation procedures. Depending on your machine it may take several hours to run.
Run the following notebooks (the order does not matter)
Content type
Image
Digest
Size
1.1 GB
Last updated
over 5 years ago
docker pull tommonks01/swast-benchmark