Twelve interactive lectures that build the algorithms — linear and logistic regression, regularisation, PCA, mixtures, trees, boosting, kernels — from the mathematics you already have. Nothing here is presented as a recipe. Every model is derived, every loss is traced back to an assumption, and every implementation is written in NumPy before a library is allowed near it.
This phase assumes the mathematics from Phase A and refers back to it constantly by lecture number. If the two folders sit side by side, this link works: → Phase A · The Mathematics Behind Machine Learning.
The dependency map below says which Phase A lecture each Phase B lecture leans on hardest. If a derivation here loses you, that is where to go back to.
| Phase B lecture | Leans hardest on |
|---|---|
| 01 Learning problem | A13 expectation and the empirical mean |
| 02 Linear regression | A10 normal equations, A8 projection |
| 03 Gradient descent | A6 Taylor, A11 eigenvalues and conditioning |
| 04 Maximum likelihood | A14 MLE, A2 logs and the argmax theorem |
| 05 Logistic regression | A5 chain rule and σ′, A12 gradients |
| 06 Regularisation | A14 MAP and priors, A11 spectrum shifting |
| 07 Bias–variance and evaluation | A13 variance, A14 base rates |
| 08 PCA | A11 spectral theorem and Rayleigh quotients |
| 09 k-means and mixtures | A14 likelihood, A7 convexity |
| 10 Naive Bayes | A14 Bayes' theorem and conditional independence |
| 11 Trees and boosting | A2 entropy, A4 gradients as residuals |
| 12 SVMs and kernels | A8 inner products, A12 constrained optimisation |
Phase B gives you the algorithms. Phase C asks the uncomfortable question of why any of them should be expected to work on data they have not seen, and Phase D scales the whole apparatus up.
nn.Module now would let you skip the one
thing worth learning.Your progress is stored locally in this browser only, under a separate key from Phase A. Interactive plots and derivations work offline; typeset mathematics and the in-page Python runner need an internet connection the first time a page loads.