This notebook contains an analysis of referees' effectiveness in the last 2 minutes of an NBA the game. The analysis is based on Bayesian hierarchical models, performed with PyMC3.
In your terminal, use git
to clone the repository locally.
git clone https://github.com/necbal/NBA-referee-analysis.git
Download the Anaconda distribution of Python 3.
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.yml
To activate the environment, use the conda activate
command.
conda activate NBA-referees-analysis
If you get an error activating the environment, use the older source activate
command.
source activate NBA-referees-analysis
To update the environment based on the environment.yml
specification file, use the conda update
command.
conda env update -f environment.yml
In the terminal, execute jupyter lab
.