If you're attending this workshop at SciPy, 2018, make sure to clone, download, or re-pull this repository on the morning of Tuesday July 10, 2018. All edits will be completed by end of day CT Monday July 09.
How to do Bayesian statistical modelling using numpy and PyMC3
To get started, first identify whether you:
- Prefer to use the
condapackage manager (which ships with the Anaconda distribution of Python), or if you - prefer to use
pipenv, which is a package authored by Kenneth Reitz for package management withpipandvirtualenv, or if you - Do not want to mess around with dev-ops.
In your terminal, use git to clone the repository locally.
git clone https://github.com/ericmjl/bayesian-stats-modelling-tutorialAlternatively, you can download the zip file of the repository at the top of the main page of the repository. If you prefer not to use git or don't have experience with it, this a good option.
If you do not already have the Anaconda distribution of Python 3, go get it (note: you can also set up your project environment w/out Anaconda using pip to install the required packages; however Anaconda is great for Data Science and we encourage you to use it).
If this is the first time you're setting up your compute environment, use the conda package manager to install all the necessary packages from the provided environment.yml file.
conda env create -f environment.ymlTo activate the environment, use the conda activate command.
conda activate bayesian-stats-modellingIf you get an error activating the environment, use the older source activate command.
source activate bayesian-stats-modellingTo update the environment based on the environment.yml specification file, use the conda update command.
conda env update -f environment.ymlPlease install all of the packages listed in the environment.yml file manually. An example command would be:
$ pip install numpy scipy networkx ...If you don't want to mess around with dev-ops, click the following badge to get a Binder session on which you can compute and write code.