Topic Name Description
File Lecture Notes

These are the lecture notes  originally developed for this module by Dr. Benning.

Folder Tutorials recordings

Tutorial 1

Passcode: hT.&cv9x

Tutorial 2

Passcode: 45Gz8@9n

Tutorial 3

Unfortunately missing due to a broken microphone

Tutorial 4

Passcode: eX6J$d.6

Tutorial 5

Passcode: &8Huf.d4

Tutorial 6 (mainly conducted on the whiteboard in preparation of the mid-term)

Passcode: 7uF+u=q4

Tutorial 8

Passcode: @9Vs9jEE

Tutorial 9

Passcode: r90p!8c5

Tutorial 10

Passcode: 6r&=1sEY

Tutorial 11

Passcode: 4SgE#45f

Tutorial 12

Passcode: ?N!3byA7

Week 0: Coursework 0 File Coursework 0
File Solutions to coursework 0
File Detailed solutions corsework0
Week 1: Introduction. Mathematical preliminaries. File Week 1 slides
File Coursework 1
File Solutions coursework 1
File Detailed solutions coursework 1
Week 2: Linear regression. Polynomial regression. File Lecture 2 slides
File Coursework 2
File Solutions coursework 2
File Detailed solutions coursework 2
Week 3: Ill-conditioned regression problems File Lecture 3 slides
File Coursework 3
File Solutions coursework 3
File Detailed solutions coursework 3
Week 4: Empirical risk minimisation & model error structure. File Lecture 4 slides
File Coursework 4 (theory)
Folder Coursework 4 (python)
File Coursework 4 solutions (python)
File Coursework 4 solutions (theory)
Week 5: The LASSO and the gradient descent. File Lecture 5 slides
File Coursework 5
File Solutions coursework 5
Week 6: Regression analysis with Neural Networks. File Lecture 6 slides
Folder Coursework 6
File Coursework 6 solutions
Week 7: Midterm assessment. File Lecture 7 slides
File Extra exercises
File Solutions extra exsercises
Week 8: Classification problems. Non-parametric classification. File Lecture 8 slides
Folder Coursework 8
File Solutions coursework 8
Week 9: Logistic regression File Lecture 9 slides
Folder Coursework 9
File Solutions coursework 9
Week 10: Support Vector Machines File Lecture 10 slides
Folder Coursework 10
File Coursework 10 solutions
Week 11: Semi-supervised binary classification with graphs File Lecture 11 slides
Hints and tips URL Another python numpy online tutorial

Note that this online tutorial is also available as Jupyter notebook, see https://github.com/kuleshov/cs228-material/blob/master/tutorials/python/cs228-python-tutorial.ipynb.

URL Anaconda Python distribution

We use the Anaconda distribution to run Python 3, as it is easy to install and comes with most packages we need. To install Anaconda, go to the linked url and get the Python installer for your OS - make sure to use the newer version 3.x, not 2.x. Follow the instructions of the installer and you're done.

Warning! The installer will ask you if you want to add Anaconda to your path. Your default answer should be yes, unless you have specific reasons not to want this.


URL Numpy Quickstart tutorial

This is a link to the Numpy Quickstart tutorial from SciPy.org.

coursework File Coursework 0
File Coursework 0 Solutions
exam papers File Collection of past exam papers
Week 12: Decision Trees File Lecture 12 slides
Final Project (Deadline: 24/01/24) File Project description

This file details the requirements of the project. Please read it with great attention

Folder Datasets

Five datasets to pick from. You need to pick one

Mathematics for Machine Learning (freely available textbook) URL Mathematics for Machine Learning (freely available textbook)

This textbook might be a good resource especially for the more theoretical aspects of the course (i.e., linear algebra, calculus, etc..)