// 70 cards · 12 categories
Cheatsheets.
Every formula, metric and rule from the course on one page, grouped by category. Filter to what you're revising, or print it.
Formulas
The equations to know by heart, with what each symbol means.
Decision boundary
Universal approximation
Activation functions
Each activation, its derivative and when to use it.
Leaky ReLU
Losses and output layers
Which output layer and loss fit which task.
Output activation by task
MSE vs MAE
Pinball loss
Stable softmax
Task → output → loss
Backpropagation
The chain rule, error signals and the gradient of every weight.
Vanishing gradients
Chain rule on graphs
One hidden layer (sigmoid hidden, linear out, ½ squared error)
The pattern
Matrix backprop (4 steps)
Fan-out
Training and optimisation
Gradient descent, learning rates, batches and checks.
Learning rate
Online, batch, mini-batch
Gradient check
Training recipe
Learning-rate diagnosis
Generalisation and data
Splits, leakage, learning curves and data preparation.
Generalisation
Three sets
Diagnose
Scaling
Data checks
Regularisation
Weight decay, early stopping, dropout and augmentation.
Early stopping
Inverted dropout
Augmentation
Convolutional networks
Convolutions, pooling and parameter counts.
Why convolutions
Convolution
Pooling
CNN components
Feature hierarchy
PyTorch
The code patterns and the mistakes that cost marks.
Logits rule
Dropout in PyTorch
nn.Dropout(p) after the activation; model.train() / model.eval(); never on the output layer. for big FC layers, 0.1–0.2 otherwise.Training loop
zero_grad() → forward + loss → loss.backward() → optimizer.step(). model.train() / model.eval() + torch.no_grad() for validation.Classifier output
nn.Linear; nn.CrossEntropyLoss applies log-softmax. Softmax only for reporting probabilities.Core concepts
The big ideas, each in a sentence or two.
XOR with a hidden layer
What depth adds
Bump intuition
UAT and classifiers
Comparisons
Side-by-side differences between ideas that are easy to mix up.
ML vs DL
Learning types
Separable or not
Two ways to solve XOR
Vanishing vs dying
L1 vs L2
Depth vs width
Tabular regression design
Common traps
Mistakes that cost marks, and the correct statement.
Index, not power
XOR proof in one line
Shape conventions
Linear layers collapse
Sign is untrainable
UAT limits
Accuracy as a loss
Leakage