Repeatability using Jupyter notebook and Conda

In the interest of repeatable coding, I will strive to share Jupyter notebooks for Python code used in this blog, as well as the Conda environment file to generate the environment.

I will assume that you have installed conda in your machine. See the installation instructions here.

  1. Download the environment file and the jupyter notebook.
  2. Recreate the conda environment I used in your machine:
    $ conda env create -f myenv.yml
    

    This environment has jupyter installed.

  3. Run the jupyter notebook:
    $ jupyter notebook
    
  4. Run the notebook using the menu options.
  5. Obtain the html page included in the webpages using the command
    $ jupyter nbconvert notebook.ipynb
    
Research Scientist

Researcher with experience in optimization, control, stochastic modeling, and reinforcement learning