The maths, then the models

Machine learning is a few ideas from linear algebra, probability and statistics, used again and again. Learn them with short videos, figures you can drag and questions, then try mixed problems in Practice.

Start at 0.1. If you already know some maths, the self-assessment in 0.2 shows which sections you can skip. Questions you answer come back for review just before you would forget them.

Contents

  1. 0. Start here

    1. 0.1What machine learning is
    2. 0.2Self-assessment
  2. 1. Linear algebra

    1. 1.1Vectors and linear combinations
    2. 1.2Span, basis and dimension
    3. 1.3Matrices as transformations
    4. 1.4Determinant, inverse and Ax = b
    5. 1.5Dot products, angles and projections
    6. 1.6Eigenvectors and eigenvalues
    7. 1.7Symmetric matrices and the SVD
  3. 2. Probability

    1. 2.1Conditional probability and Bayes' rule
    2. 2.2Random variables
    3. 2.3Expectation, variance, covariance
    4. 2.4Bernoulli, binomial and Gaussian
    5. 2.5Change of variables
    6. 2.6Entropy and cross-entropy
  4. 3. Statistics and optimisation

    1. 3.1Maximum likelihood
    2. 3.2Priors and MAP
    3. 3.3Gradient descent and convexity
    4. 3.4Lagrange multipliers
  5. 4. Regression

    1. 4.1Least squares
    2. 4.2Basis functions
    3. 4.3Overfitting and bias–variance
    4. 4.4Regularisation
  6. 5. Classification

    1. 5.1Logistic regression
    2. 5.2Naive Bayes
    3. 5.3Evaluation metrics
  7. 6. Kernels and SVMs

    1. 6.1Maximum margin
    2. 6.2Soft margin and the dual
    3. 6.3The kernel trick
  8. 7. Trees and ensembles

    1. 7.1Decision trees
    2. 7.2Bagging and random forests
    3. 7.3Boosting
  9. 8. Neural networks

    1. 8.1From logistic regression to an MLP
    2. 8.2Backpropagation
    3. 8.3Training
  10. 9. Gaussian processes

    1. 9.1Bayesian linear regression
    2. 9.2GP regression
  11. 10. Dimensionality reduction

    1. 10.1PCA
    2. 10.2Manifold learning
  12. 11. Clustering

    1. 11.1k-means
    2. 11.2Gaussian mixtures and EM
  13. 12. Practice

    1. 12.1Mixed problems 1
    2. 12.2Mixed problems 2
    3. 12.3Mixed problems 3
    4. 12.4Mixed problems 4