Repository for working through Statistical Rethinking lectures using numpyro
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 git@github.com: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
statrethinkingenvironmentconda 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 notebookor
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.