Skip to content

[01] Setup R and Python

Shamindra Shrotriya edited this page Feb 15, 2020 · 2 revisions

Git Setup

Clone this repo through github:

https://github.com/shamindras/bttv-aistats2020.git

Python Setup

Installing the conda environments

Firstly you need to install Anaconda on your computer

First fork and then clone the repo locally on your computer. Change directory to the repo folder.

To install the required bttvaistats2020 conda environments just use the Makefile run the following at the command line:

make conda_bttvaistats2020

To confirm that the conda environment has installed correctly you can run the following in the terminal:

conda info -e

You should now see the single installed conda environment listed as required bttvaistats2020.

To activate the conda environments simply use conda as usual i.e. conda activate bttvaistats2020

Quick info on each of the conda environments

bttvaistats2020: This contains the latest conda production build including jupyter lab which is important for our prototyping. Most importantly it contains our custom bttv package, which has all of our time-varying Bradley Terry utilities as implemented in our paper

R Setup

In order to run the R code we recommend using the RStudio editor.

You can the install the required packages as follows by running the following at the terminal:

make setup_r_packages

Clone this wiki locally