// 121 cards · 9 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.
Population risk
ERM
Standardisation
Cost-optimal threshold
Distances
Evaluation metrics
How to measure a model, and when each measure misleads.
MAE / RMSE
Out-of-sample R²
Confusion matrix
Sensitivity / recall / TPR
Specificity / TNR
Precision / PPV
ROC & AUC
Loss functions
What each loss punishes and where it is used.
Squared loss (L2)
Cross-entropy / log loss
Log-loss values
Hinge loss
Data leakage & good practice
How evaluation goes wrong, and the rule that fixes each case.
Train / validation / test
CV with preprocessing
The six leaks
Six golden rules
One test for every leak
Oversampling rule
Regularisation & leakage
Interpreting models
Ready-made sentences for explaining coefficients, p-values and plots.
Diagnose from errors
Coefficient sentence
Residual plot patterns
p-value sentence
Multicollinearity effects
Logistic coefficient
Threshold effects
Ridge properties
λ regimes
K-means failure modes
Effect of C
Algorithms step by step
The procedures you may be asked to run by hand.
ML workflow
K-fold CV
"Is this approach reasonable?"
Slope by hand
AUC by counting
Imbalance toolkit
Forward stepwise
Best subset
Penalised objective by hand
Choosing λ
K-means
Choosing K
SVM by hand (2 support vectors)
Comparisons
Side-by-side differences between methods that are easy to mix up.
Supervised vs unsupervised
Parametric vs non-parametric
Loss vs metric
Simple vs flexible
Linear vs logistic regression
OLS vs MLE fitting
Ridge vs LASSO in one line
Subset vs ridge vs LASSO
K-means vs K-NN
Logistic regression vs linear SVM
Complexity knobs, all models
Core concepts
One-line definitions of the big ideas.
Machine learning
Features vs target
Regression vs classification
Hyperparameter
No Free Lunch
Generalisation gap drivers
Typical splits
OLS noise assumptions
Complexity dials
Why LASSO gives zeros
Support vectors
Common traps
Mistakes that cost marks, and the correct statement.
NFL misreading
Training error picks complexity
"Variance" means...
"Linear" regression
Comparing coefficients
R² misreadings
p-value misreadings
Odds ratio 2 ≠ "twice as likely"
Sign of the log-likelihood
High accuracy, rare class
AUC misreadings
Select by p-values
Lowest training error?
Unscaled features