Phase 1 of 7 · 16 topics

Math foundations

The language of ML. You will see matrices as movements of space, gradients as directions, and loss functions as probabilities.

Maths is the grammar of ML. You can memorise sentences (formulas), but you only speak fluently when you know the grammar. Linear algebra describes the data. Calculus describes how things change. Probability describes how sure you are.

0 of 16 done

Core resources for this phase

Topics, in order

  1. 1.1 Vectors, span and basis

  2. 1.2 Matrices as transformations; matrix multiplication

  3. 1.3 Determinants

  4. 1.4 Inverse, rank and solving Ax = b

  5. 1.5 Dot product, projection and orthogonality

  6. 1.6 Eigenvalues and eigenvectors

  7. 1.7 SVD, and the maths behind PCA

  8. 1.8 Derivatives and the chain rule

  9. 1.9 Partial derivatives, gradients and Jacobians

  10. 1.10 Gradient descent and the learning rate

  11. 1.11 Random variables, distributions, expectation and variance

  12. 1.12 Conditional probability and Bayes’ rule

  13. 1.13 Maximum likelihood estimation

  14. 1.14 Statistics: sampling, confidence intervals, hypothesis tests

  15. 1.15 Entropy, cross-entropy and KL divergence

  16. 1.16 Convex optimisation: constraints, Lagrange multipliers and duality

Go deeper (optional)