The map
Every concept, walkable from the start
152 concepts across 15 tracks, each one a page of its own. Ordered so that nothing ever appears before the ideas it stands on — top to bottom is always a valid path.
What learning is
You can explain, without hand-waving, what it means for a machine to learn.
001Model
lesson readyA model is a rule with adjustable numbers in it.
002Parameter
lesson readyA parameter is one of those adjustable numbers — a dial.
needs model
003Prediction
lesson readyA prediction is what the rule says before you check the answer.
needs model
004Loss
lesson readyLoss is one number saying how wrong the model currently is.
needs prediction
005Gradient
lesson readyA gradient says which way to turn each dial to make loss smaller.
needs loss
006Gradient descent
lesson readyTurn every dial a little downhill, over and over. That is training.
needs gradient
007Learning rate
lesson readyHow far you turn the dials each step — too small crawls, too big explodes.
needs gradient-descent
008Loss landscape
lesson readyEvery setting of the dials has a height; training walks downhill on that terrain.
needs loss
009Supervised learning
writtenLearning from examples where somebody already wrote the answer down.
needs model
010Unsupervised learning
writtenFinding structure in data nobody labelled.
needs supervised
011Self-supervised learning
lesson readyHiding part of the data and making the model guess it — where modern AI gets its scale.
needs supervised
012Inference
writtenUsing a trained model. No dials move; it just answers.
needs prediction
The little maths you need
You can read an equation in a paper and know what it is asking for.
013Vector
writtenA list of numbers describing one thing.
014Matrix
writtenA grid of numbers — usually a stack of vectors, or a machine that transforms them.
needs vector
015Matrix multiplication
writtenThe single operation that eats most of the world's AI electricity.
needs matrix
016Dot product
writtenOne number saying how much two vectors point the same way.
needs vector
017Derivative
writtenHow fast one number changes when you nudge another.
018Chain rule
writtenHow to trace a nudge through a long chain of steps. The engine of all training.
needs derivative
019Probability
writtenA number from 0 to 1 for how much you believe something.
020Distribution
writtenBelief spread across every possible answer, adding to one.
needs probability
021Entropy
writtenHow surprised you should expect to be. Low entropy means confident.
needs distribution
022Cross-entropy
lesson readyThe loss used whenever a model picks from a list of options.
needs entropy
023Working in logs
writtenWhy practitioners take logarithms of everything: multiplication becomes addition, and tiny numbers stop vanishing.
needs probability
Data and honesty
You can tell a real result from a fooled one.
024Feature
writtenOne measurable thing you feed the model.
needs model
025Label
writtenThe right answer, written down by someone, for the model to be scored against.
needs supervised
026Train and test split
writtenHide some data from training, or you will only ever measure memorisation.
needs label
027Validation set
writtenA third slice, used for choosing settings, so the test set stays honest.
needs train-test-split
028Overfitting
writtenLearning the noise in your examples instead of the pattern behind them.
needs train-test-split
029Underfitting
writtenA model too simple to capture what is actually going on.
needs overfitting
030Generalisation
writtenDoing well on things you have never seen. The only success that counts.
needs overfitting
031Bias and variance
writtenTwo ways to be wrong: too rigid, or too jumpy.
needs underfitting
032Scaling your inputs
writtenPut features on comparable scales, or training crawls along a canyon floor.
needs feature · learning-rate
033Data leakage
writtenWhen the answer sneaks into the inputs and your results become a lie.
needs train-test-split
034Class imbalance
writtenWhen 99% of examples are one class, 99% accuracy means nothing.
needs label
035Data augmentation
writtenMaking more training data by changing what you have in ways that keep the answer true.
needs generalisation
Classical machine learning
You can solve most business problems without a neural network.
036Linear regression
lesson readyFit a straight line. The smallest model that genuinely learns.
needs gradient-descent
037Logistic regression
writtenBend a line into a probability, and you can classify.
needs linear-regression · probability
038Nearest neighbours
writtenPredict whatever the most similar examples did. No training at all.
needs feature
039Decision tree
writtenA flowchart of yes/no questions, learned from the data.
needs label
040Random forest
writtenHundreds of shallow trees voting beat one deep tree.
needs decision-tree
041Gradient boosting
writtenEach new tree fixes the mistakes of the ones before. Still wins on tabular data.
needs decision-tree · gradient
042Support vector machines
writtenFind the boundary with the widest possible gap around it.
needs logistic-regression
043Clustering
writtenGrouping things nobody labelled, by how close together they sit.
needs unsupervised
044Dimensionality reduction
writtenSquash many features into a few that keep most of the differences.
needs vector · unsupervised
045Regularisation
writtenPenalise complicated answers so the model stops chasing noise.
needs overfitting
Neural networks
You can build a network from nothing but multiply, add, and bend.
046Artificial neuron
writtenMultiply the inputs by weights, add them up, bend the result.
needs linear-regression
047Weights and biases
writtenThe weights say what matters; the bias says where to start.
needs neuron
048Activation function
writtenThe bend. Without it, a hundred layers collapse into one straight line.
needs neuron
049ReLU
writtenKeep positives, zero the negatives. Absurdly simple, and it won.
needs activation
050Softmax
lesson readyTurn any list of scores into probabilities that sum to one.
needs activation · distribution
051Layer
writtenA row of neurons all looking at the same inputs.
needs neuron
052Multilayer network
writtenStack bent layers and you can draw any shape at all.
needs layer · activation
053The XOR wall
writtenThe problem one layer cannot solve — and the reason the field stalled for a decade.
needs mlp
054Why depth works
writtenEnough bent pieces can approximate any function you like.
needs mlp
055Backpropagation
writtenSend the blame backwards through the network with the chain rule.
needs mlp · chain-rule
056Embedding
writtenTurning a word, a user, or an image into a vector of learned numbers.
needs vector · layer
How training really goes
You can diagnose a training run that is going wrong.
057Epoch and batch
writtenOne pass through the data, taken in handfuls.
needs gradient-descent
058Stochastic gradient descent
writtenUse a small random handful each step. Noisier, and far faster.
needs epoch
059Momentum
writtenLet the ball keep some speed so it rolls through flat patches.
needs sgd
060Adam and friends
writtenGive every dial its own step size, tuned as you go.
needs momentum
061Learning-rate schedules
writtenStart bold, finish careful.
needs learning-rate
062Initialisation
writtenWhere the dials start decides whether training ever gets going.
needs mlp
063Vanishing and exploding gradients
writtenBlame that fades to nothing, or blows up, on its way back through deep networks.
needs backprop
064Normalisation layers
writtenRe-centre the numbers inside the network so training stays stable.
needs vanishing-gradient
065Dropout
writtenSwitch off random neurons while training so no single one becomes indispensable.
needs regularisation
066Early stopping
writtenStop when the held-out score turns, not when the training score does.
needs validation
067Hyperparameters
writtenThe settings you choose, as opposed to the numbers the model learns.
needs learning-rate
068Reading a loss curve
writtenThe single most useful diagnostic skill in the whole field.
needs loss · overfitting
069Mixed precision
writtenUse smaller numbers to train faster, without losing the answer.
needs log-space
070Checkpoints
lesson readySave the dials often; training runs die.
needs epoch
Machines that see
You understand why a filter sliding over pixels changed everything.
071Images as numbers
writtenA photograph is a grid of brightness values, nothing more.
needs matrix
072Convolution
writtenSlide a small filter across the image and look for one pattern everywhere.
needs pixel · layer
073Filters and kernels
writtenThe small grid of weights that does the looking — learned, not designed.
needs convolution
074Pooling
writtenShrink the picture, keep the evidence.
needs convolution
075Convolutional networks
writtenEdges become shapes become objects, layer by layer.
needs kernel · pooling
076Residual connections
writtenLet the signal skip layers, and suddenly you can train very deep networks.
needs cnn · vanishing-gradient
077Diffusion models
writtenLearn to remove noise, then start from pure noise and remove it all.
needs cnn · distribution
090Vision transformers
writtenCut the image into patches and treat them like words.
needs cnn · transformer
Order and memory
You know why sequences broke every model that came before attention.
078Sequence data
writtenData where order carries meaning — text, audio, prices, DNA.
needs feature
079Tokenisation
lesson readyChopping text into the pieces a model actually sees. Rarely whole words.
needs sequence
080Recurrent networks
writtenRead one step at a time and carry a memory forward.
needs sequence · mlp
081LSTM and gating
writtenLearned gates that decide what to remember and what to drop.
needs rnn · vanishing-gradient
082Encoder–decoder
writtenRead the whole input, then write the whole output.
needs rnn
083The bottleneck problem
writtenSqueezing a whole sentence into one vector loses the sentence.
needs seq2seq
Attention and transformers
You can draw the architecture behind every modern model from memory.
084Attention
writtenLet every position look directly at every other and decide what matters.
needs bottleneck · dot-product
085Query, key, value
writtenAsk a question, match it against labels, collect the contents.
needs attention
086Self-attention
writtenThe sentence attending to itself, which is how context gets built.
needs qkv
087Multi-head attention
writtenSeveral attention patterns at once, each watching for something different.
needs self-attention
088Positional encoding
writtenAttention has no sense of order, so order has to be added back in.
needs self-attention
089The transformer block
writtenAttention, then a small network, twice per layer, with skips. That is the whole thing.
needs multihead · resnet
091Causal masking
writtenHide the future so the model must predict it rather than read it.
needs self-attention
092KV cache
writtenRemember past keys and values so each new token is cheap.
needs causal-mask
Large language models
You know what is actually happening when you type into a chat box.
093Next-token prediction
lesson readyThe entire training objective: guess the next piece of text.
needs transformer · cross-entropy
094Pretraining
writtenMonths of next-token prediction over an enormous pile of text.
needs lm-objective · self-supervised
095Scaling laws
writtenMore data, more parameters, more compute — and loss falls predictably.
needs pretraining
096Emergent abilities
writtenSkills nobody trained for, appearing once a model is large enough.
needs scaling-laws
097Temperature and sampling
lesson readyHow the model chooses among possible next words, and why it varies.
needs softmax · lm-objective
098Context window
writtenHow much the model can hold in mind at once, and why it costs so much.
needs kv-cache
099Hallucination
writtenA model trained to sound right will sound right even when it is wrong.
needs sampling
100Mixture of experts
writtenOnly wake the part of the network you need for this token.
needs transformer
Making a model yours
You can adapt a pretrained model to your own problem, cheaply.
101Prompting
writtenSteering a finished model with words alone. No dials move.
needs inference
102Few-shot examples
writtenShow the pattern in the prompt instead of training it in.
needs prompting
103Fine-tuning
writtenTake a trained model and keep training it on your own data.
needs pretraining · loss-curve
104Transfer learning
writtenMost of what a model learned on other data is still useful on yours.
needs finetuning
105LoRA and adapters
writtenTrain a tiny patch instead of the whole model. Fits on a free GPU.
needs finetuning · matmul
106Quantisation
writtenStore the weights in fewer bits so the model fits on the hardware you have.
needs precision-fp16
107Retrieval-augmented generation
writtenLook the facts up and put them in the prompt, instead of training them in.
needs embedding · prompting
108Vector search
writtenFinding the passage that means the same thing, not the one with the same words.
needs embedding · dot-product
109Distillation
writtenTrain a small model to copy a big one.
needs transfer
Learning from consequences
You understand how a model is taught what people prefer.
110Reinforcement learning
writtenNo answer key. Just consequences, and a score you want to raise.
needs gradient-descent
111Reward
writtenThe number the agent is trying to maximise — and the thing it will exploit.
needs rl-basics
112Explore or exploit
writtenTake the known-good option, or gamble on finding better.
needs rl-basics
113Policy
writtenThe rule the agent follows for choosing what to do next.
needs rl-basics
114Learning from human preference
writtenPeople rank two answers; the model learns which kind to give.
needs reward · finetuning
115Alignment
writtenMaking a capable model actually do what was intended.
needs rlhf
116Reward hacking
writtenAny measure that becomes a target stops being a good measure.
needs reward
Getting it in front of people
You can serve a model and know what it costs you.
117Choosing a metric
writtenAccuracy, precision, recall — and why the wrong one hides your failure.
needs validation
118Evaluation
writtenDeciding whether it works, before your users decide for you.
needs metrics
119Latency and throughput
writtenHow fast one answer arrives, versus how many you can serve at once.
needs inference
120What it costs to run
writtenWorking out the price of an answer before you offer it to a million people.
needs latency
121Batching and serving
writtenServe many requests at once, because the hardware prefers it.
needs latency
122Drift and monitoring
writtenThe world changes after you ship; the model does not.
needs eval
123Reproducibility
writtenSeeds, versions, and data snapshots — or your result was luck.
needs checkpoint
AI in the physical world
You understand how a machine turns sensors into decisions, and why that is so much harder than a benchmark.
124Perception
writtenTurning raw sensor readings into a usable picture of what is out there.
needs cnn
125Reading text from images
writtenFinding where the writing is, then working out what it says. The oldest paying job in computer vision.
needs cnn · sequence
126Object detection
writtenNot just what is in the picture, but exactly where, with a box around it.
needs cnn
127Segmentation
writtenLabelling every single pixel — road, person, sky — instead of the picture as a whole.
needs detection
128Judging distance
writtenWorking out how far away things are, from flat images or from time-of-flight sensors.
needs perception
129Pose and orientation
writtenWhich way something is facing, and how its parts are arranged. What a drone needs to know about itself.
needs depth
130Mapping while moving
writtenBuilding a map of somewhere you have never been, while working out where in it you are.
needs pose
131Combining sensors
writtenCamera, radar, and inertial readings all disagree slightly. Fusion decides who to believe.
needs perception · probability
132Control policies
writtenGoing from what the machine sees to what the motors actually do.
needs policy · perception
133Simulation to reality
writtenTrain a million times in a simulator, because crashing a real drone costs money.
needs control · rl-basics
134The reality gap
writtenEverything that works in the simulator and fails in the rain.
needs sim2real · generalisation
135Speech recognition
writtenTurning a pressure wave into words, with all the accents and background noise intact.
needs sequence · attention
136Speech synthesis
writtenGoing the other way — text into a voice that does not sound like a robot.
needs asr
137Embodied learning
writtenA machine that learns by acting in the world and living with the consequences.
needs control · self-supervised
138Fast enough to matter
writtenA drone deciding in 20 milliseconds is a different problem to a model answering in two seconds.
needs latency · perception
146Levels of self-driving
writtenThe precise ladder from cruise control to no steering wheel, and where the hard part sits.
needs control · autonomy
Limits, harms, and honesty
You can say clearly what a model cannot and should not do — and who gets hurt when it is wrong.
139Bias in data and models
writtenA model trained on the past will repeat the past, including its unfairness.
needs generalisation
140Interpretability
writtenWorking out why the model said that. Genuinely hard, and unsolved.
needs mlp
141Privacy and memorisation
writtenModels can repeat back training data, including data that was never meant to be public.
needs overfitting
142Adversarial examples
writtenSmall, invisible changes to an input can flip a confident answer.
needs generalisation
143What models cannot do
writtenThe honest list, kept up to date, of where these systems fail.
needs hallucination
144Provenance and consent
writtenWhere training data came from, and whether anyone agreed to it.
needs pretraining
145How much rope to give it
writtenThe difference between a system that suggests and one that acts on its own.
needs inference
147Keeping a person in the loop
writtenWhere a human must approve before anything happens, and why that line is drawn.
needs autonomy
148Deliberate misuse
writtenFraud, impersonation, and manufactured evidence — the harms that come from it working, not failing.
needs limits
149Deepfakes and synthetic media
writtenWhen seeing is no longer believing, and what that costs a society.
needs diffusion · misuse
150Work and displacement
writtenWhich jobs change, which disappear, and who carries the cost.
needs limits
151Who owns the compute
writtenTraining frontier models costs more than most countries will spend, and that concentrates power.
needs scaling-laws
152Watching a system you cannot read
writtenHow you supervise something whose reasoning nobody can inspect.
needs interpretability · autonomy
Start at the top of the first track. Everything else unlocks from there.
Begin lesson 1 →