Machine learning models ยท 60-lesson course

From model intuition to defensible ML systems

A practical adult-learning course covering the major machine-learning families, how they work, when to use them, how to evaluate them and how to operate them responsibly.

Course overview

This course moves from the core prediction loop through classical models, unsupervised learning, neural networks, foundation models, decision-making and real-world deployment.

How to use it: read one lesson, answer its retrieval check from memory, complete the practice task and explain the trade-off in your own words.
Start with Lesson 1

Foundations

LessonFocus
01What a machine-learning model is
02Learning settings and sources of supervision
03Data, features, targets and loss
04Train, validation and test sets
05Bias, variance and generalisation
06The maths needed for machine learning
07Metrics, thresholds and calibration
08Your first scikit-learn baseline

Classical supervised models

LessonFocus
09Linear regression
10Ridge, Lasso and Elastic Net
11Logistic regression and generalised linear models
12k-nearest neighbours
13Naive Bayes
14Decision trees
15Random forests and extremely randomised trees
16Gradient boosting
17Support vector machines and kernels
18Ensembles, calibration and interpretation

Unsupervised and probabilistic models

LessonFocus
19k-means clustering
20Gaussian mixture models
21Hierarchical clustering
22DBSCAN and density-based clustering
23Principal component analysis
24ICA and non-negative matrix factorisation
25Anomaly and novelty detection
26Bayesian modelling
27Gaussian processes
28Hidden Markov models and Kalman filters

Neural networks

LessonFocus
29Perceptrons and multilayer perceptrons
30Backpropagation and gradient descent
31Activations, normalisation and regularisation
32Convolutional neural networks
33RNNs, LSTMs and GRUs
34Embeddings and representation learning
35Autoencoders and variational autoencoders
36Graph neural networks

Generative and foundation models

LessonFocus
37Attention and transformers
38Large language models
39Pretraining, prompting and in-context learning
40Fine-tuning, LoRA, adapters and distillation
41Retrieval-augmented generation versus training
42Vision transformers and multimodal models
43Generative adversarial networks
44Diffusion models
45Foundation-model evaluation and safety

Decision, time and structure

LessonFocus
46Time-series forecasting
47Recommender systems and ranking
48Contextual bandits
49Reinforcement learning and Markov decision processes
50Q-learning, policy gradients and actor-critic methods
51Causal inference and structural causal models
52Survival analysis
53Structured prediction and conditional random fields

Real-world machine learning

LessonFocus
54Feature engineering and data leakage
55Imbalanced data and rare events
56Interpretability, fairness and calibration
57Deployment, latency and cost
58Monitoring, drift and retraining
59Choosing the simplest model that works
60Capstone: design, train and defend an ML system