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 [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
environmentconda 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.