This Code Ocean Compute Capsule will allow you to reproduce the results published by the author on your local machine1. Follow the instructions below, or consult our knowledge base for more information. Don't hesitate to reach out via live chat or email if you have any questions.
1 You may need access to additional hardware and/or software licenses.
- Docker Community Edition (CE)
- nvidia-container-runtime for code that leverages the GPU
- MATLAB/MOSEK/Stata licenses where applicable
This capsule has been published and its environment has been archived and made available on Code Ocean's Docker registry:
registry.codeocean.com/published/1f27eefc-9e29-4d70-a75f-a31e8fa23be1:v4
In your terminal, navigate to the folder where you've extracted the capsule and execute the following command, adjusting parameters as needed:
docker run --platform linux/amd64 --rm --gpus all \
--workdir /code \
--volume "$PWD/data":/data \
--volume "$PWD/code":/code \
--volume "$PWD/results":/results \
registry.codeocean.com/published/1f27eefc-9e29-4d70-a75f-a31e8fa23be1:v4 bash run