The Summer School will include some hands-on tutorials in which we will build some simple Gaussian process models. The tutorials will be in Python, featuring the GPy package that has been developed by the Machine Learning group in Sheffield.
Prior Python programming skills are not needed, however, Python 3 needs to be installed with the following packages: scipy, matplotlib, nose, and GPy.
Please bring your own laptop.
We highly recommend that you install an integrated Python environment such as Anaconda. This will automatically install the latest versions of
The easiest way to get a Python environment on Windows is to install an integrated Python package such as Anacoda:
Download and install the free version of Anaconda according to your operating system from https://store.continuum.io/cshop/anaconda
Open a (new) terminal window: Navigate to Applications/Accessories/cmd, or open anaconda Command Prompt from windows start
You should now be able to launch an IPython interpreter or launch a jupyter notebook.
I found that I had to also install the Visual C++ Build Tools before I could install GPy, but you may already have that installed.
Linux / Mac OS X
The installation file of Anaconda for Linux and Mac OS X can also be found on their website https: //store.continuum.io/cshop/anaconda. Following the installation instructions on their website should be straight-forward.
The current version of GPy requires a new version of scipy (
scipy>=0.16). Make sure you get the
latest version of scipy installed. To update scipy in Anaconda, simply type
conda update scipy (if you have just installed Python for the first time, then you should already be up to date). After
installing a Python environment with numpy and scipy, GPy can be easily installed via pip:
$ pip install GPy
To make sure the installation is successful, enter the following in the IPython prompt:
$ import GPy $ GPy.tests()
Lab SheetsOn the day we will get started on the lab sheets;
- Day 1 labsheet (answers - will be uploaded later)
- Day 2 labsheet (answers - will be uploaded later)
- Day 2 extra: GP LVM (extra work!)
- Day 3 labsheet (answers - will be uploaded later)
$ cd ~/Downloads $ jupyter notebook
A browser window should open, connected to the notebook server.