// the topic tree · 6 branches · 49 lessons
Every topic, on one page.
The whole course as one tree: six branches, the topics inside each, and the key ideas under every topic. Click a lesson number to open it; the dots show your progress.
1Machine Learning Foundations
Predict vs understand · ML vs statistics · ML vs AI
1.1Regression vs classification · supervised vs unsupervised · parametric vs non-parametric · generative vs discriminative
1.2Purpose → data → clean → features → task → split → methods → apply → interpret → deploy, as a loop
1.3No Free Lunch · the conditions that make learning possible
1.4Empirical risk (training data) vs population risk (all possible data)
1.5
2Statistical Learning and Model Evaluation
3Linear Regression
ŷ = wᵀx + b · OLS = ERM with the square loss · normal equations by hand
3.13.23.33.4RSS · TSS · R² · adjusted R² · out-of-sample R² · MAE · RMSE
3.7Standard error · t = w / SE · p-value · 95% confidence interval
3.8"Holding the other inputs fixed…" · reading an output table
3.5Residual plots · multicollinearity (XᵀX nearly singular)
3.63.9
4Logistic Regression and Classification
Sigmoid · odds and log-odds · odds ratio eʷ
4.14.24.3Maximum likelihood = minimising cross-entropy
4.44.5Accuracy · sensitivity · specificity · the majority baseline
4.64.7The sensitivity–specificity trade-off · cost-based threshold · ROC curve · AUC
4.84.94.10Oversampling · stratified sampling
4.11K-nearest neighbours
Average or vote of the K closest points · choosing K · the curse of dimensionality
covered inside other lessons
5Regularisation and Model Selection
6Clustering and Support Vector Machines
Assign each point to the nearest centroid · move the centroids · repeat until stable
6.16.26.3Hyperplane wᵀx + b = 0 · distance |f(x)| / ‖w‖ · margin 1 / ‖w‖
6.4Maximum margin · only the support vectors set the boundary
6.5Minimise ‖w‖² · slack ξ lets points violate the margin
6.6C is the price of a violation · the kernel trick · linear, polynomial and RBF kernels · one-vs-one and one-vs-all
6.7