Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.41 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.41 KB

statrethinking_lectures_numpyro

Repository for working through Statistical Rethinking lectures using numpyro

Instructions

Here are steps to get started with this repo:-

  • Install conda as per your OS instructions. You can skip this step if you already have conda installed on your machine.

  • Clone the repository

    git clone [email protected]:s-mishra/statrethinking_lectures_numpyro.git
    cd statrethinking_lectures_numpyro
    
  • Create new environment from the yml file provided

    conda env create -f environment.yml
    
    ## you check that this environment has been created using the command
    conda info --envs
    
  • Activate the statrethinking environment

    conda activate statrethinking
    
  • Now you can use python however you want. If you want to use notebooks start a jupyter notebook/lab server here and start working

    jupyter notebook
    

    or

    jupyter lab
    
  • Once you are done you can just deactivate the environment using

    conda deactivate
    
  • To make working with the book and lectures easy we have copied the data directory from the official rethinking package here in data directory.