Each lecture lists its slides and reading first, then videos, then practice: notebooks and interactive demos. Slides are the PDFs used in class; the notebooks are also collected on the Notebooks page.
Slides Notebook Interactive lab Code Reading
Foundations1–2 Trees, model fit and ensembles3–7 Linear models and optimisation8–17 Neural networks18–23 Naive Bayes, neighbours and clustering24–26 Support vector machines27–29
Foundations Lectures 1–2
Lecture 01Introduction and logistics
· Prerequisite test An open-book test on Python, linear algebra, probability and calculus, required to take the course.
Lecture 02Conventions, metrics, classification and regression
Trees, model fit and ensembles Lectures 3–7
Lecture 03Decision trees I
Lecture 04Decision trees II
Lecture 05Bias and variance
Lecture 06Bias and variance II, cross-validation
Lecture 07Ensemble methods
Linear models and optimisation Lectures 8–17
Lecture 08Ensembles, weighted samples in trees, maths for ML, linear regression
Lecture 09Linear regression, contour plots, geometric view
Lecture 10Linear regression II
Lecture 11Gradient descent
Lecture 12Gradient descent II
Lecture 13Gradient descent continued, ridge regression
Lecture 14Ridge regression and lasso
Lecture 15Logistic regression I
Lecture 16Logistic regression II
Lecture 17Logistic regression III
Neural networks Lectures 18–23
Lecture 18Multi-layer perceptrons I
Lecture 19Multi-layer perceptrons II
Lecture 20Multi-layer perceptrons III
Lecture 21Next-word prediction
Lecture 22Convolutional neural networks
Lecture 23Autograd and naive Bayes
Naive Bayes, neighbours and clustering Lectures 24–26
Lecture 24Naive Bayes and k-nearest neighbours
Lecture 25KNN, parametric and non-parametric models, recommendation
Lecture 26Curse of dimensionality and unsupervised learning
Support vector machines Lectures 27–29
Lecture 27Constrained optimisation and support vector machines I
Lecture 28Support vector machines II
Lecture 29Support vector machines: soft margin
Lectures ran on Tuesdays and Thursdays from 3 January to 25 April 2023. Quiz dates are on the Assessment page.