/MA598

Primary LanguageJupyter Notebook

MA598 - Fall 2016

Installation of Required Software for Viewing the Notebookes

Find and download the right version of Anaconda for Python 2.7 from Continuum Analytics. This package contains most of the software we are going to need.

OS Specific Instructions

Microsoft Windows

  • We need C, C++, Fortran compilers, as well as the Python sources. Start a command line (look for cmd) and type:
conda install mingw libpython
  • Finally, you need git. As you install it, make sure you select that you want to use it from the Windows command prompt.

Apple OS X

  • Download and install Xcode
  • Agree to the license of Xcode by opening a terminal and typing:
sudo xcrun cc
  • Install your favorite version of the GNU compiler suite. You can do this with Homebrew (after you install it of course), by typing in the terminal:
brew install gcc

Alternatively, you may use the MacPorts.

Linux

Nothing special is required.

Installation of Required Python Packages

Independently of the operating system, use the command line to install the following Python packages:

conda install seaborn
  • PyMC for MCMC sampling:
conda install pymc
  • GPy for Gaussian process regression:
pip install GPy
  • py-design for generating designs for computer codes:
pip install py-design
  • py-orthpol for generating orthogonal polynomials with respect to arbitrary probability measures:
pip install py-orthpol

Running the notebooks

  • Open the command line.
  • cd to your favorite folder.
  • Then, type:
git clone https://github.com/PredictiveScienceLab/MA598.git
  • This will download the contents of this repository in a folder called MA598.
  • Enter the MA598 folder:
cd MA598
  • Start the jupyter notebook by typing the command:
jupyter notebook
  • Use the browser to navigate the course, experiment with code etc.
  • If the course contented is updated, type the following command (while being inside MA598) to get the latest version:
git pull origin master

Keep in mind, that if you have made local changes to the repository, you may have to commit them before moving on.