Work through the topics in order. Each topic has lessons to read first, then exercises that check what you learned.
New to machine learning? Take your first lesson. One idea, a worked example, and your first exercise. Basic Python is enough.
Start here
Linear Algebra
Stage 1
Matrices, projections and eigenvalues, the language the rest is written in.
Gradients and the chain rule, the machinery inside every training loop.
Distributions, covariance, and the distances between distributions.
Stage 2
Fit models by hand: regression, regularisation, trees, margins, validation.
Entropy at work: conditional entropy, mutual information, divergences, codes.
Stage 3
Score a model honestly, especially when the classes are imbalanced.
Find structure without labels: clustering, projection, and scoring both.
Activations, backprop, optimisers, normalisation, recurrence, attention.
Momentum, adaptive steps, schedules and line search: how training moves downhill.
Stage 4
Tokenisation, term weighting, position, and translation quality.
Convolution, pooling, box overlap and duplicate suppression.
Autograd, optimisers and training loops in a real framework.
VAEs, GANs, normalising flows and diffusion, one equation at a time.
Stage 5
The parts of a modern language model: masks, RoPE, RMSNorm, caches, sampling.
Looking for one exercise? Browse all 188 exercises
Combine weak models: voting, bagging, AdaBoost and gradient boosting.
Markov chains, hidden Markov models, mixtures and Bayesian regression.
Returns, Bellman updates, Q-learning, advantages and bandits.
Collaborative filtering, matrix factorisation and ranking metrics.
Smoothing, autocorrelation, autoregression and sequence alignment.
Clean, split and encode data, watch it drift, and ship models small.
Message passing on graphs: GCN, GraphSAGE, graph attention and PageRank.