Currently teaching COMP30760

Foundations of Machine Learning

An undergraduate introduction to the core ideas of machine learning — from linear models to neural networks — with a strong emphasis on honest evaluation, generalisation, and knowing when a model should not be trusted.

Overview

A first course in machine learning for computer-science undergraduates. The throughline is not just how to fit a model, but how to know whether it is any good — and what its failure looks like before it reaches the real world.

Learning outcomes

  • Implement and train linear models and small neural networks from scratch.
  • Diagnose overfitting and apply appropriate validation and regularisation.
  • Reason about generalisation, evaluation metrics, and dataset bias.
  • Communicate a model’s limitations as clearly as its accuracy.

Assessment

ComponentWeight
Weekly labs20%
Mid-term project30%
Final examination50%

Prerequisites

Introductory programming and basic linear algebra and probability.

  1. 01 What is learning? Tasks, data, and evaluation Download PDF ↓
  2. 02 Linear regression & gradient descent Slides coming soon
  3. 03 Classification & logistic regression Slides coming soon
  4. 04 Overfitting, regularisation & validation Slides coming soon
  5. 05 Trees, forests & ensembles Slides coming soon
  6. 06 Neural networks & backpropagation Slides coming soon
  7. 07 Representation learning & embeddings Slides coming soon
  8. 08 Fairness, bias & the limits of models Slides coming soon