Machine Learning book cover

Your technical library

Machine Learning

14 modules · 87 topics

About this book
Concepts · Machine Learning

Machine Learning

This course teaches classical machine learning — everything up to, but not including, neural networks. Given examples, it chooses a family of models, states the error being minimised, derives the procedure that minimises it, judges how well the result will do on data it has not seen, and decides when a simpler or different model wins. Every method is derived rather than asserted: least squares, ridge regression, logistic regression, the support vector machine, AdaBoost, expectation–maximisation and principal component analysis each get a full derivation. The course teaches none of its own mathematics; each lesson names the Mathematics topics it needs.

It is one chain of problems. The learning problem says what learning from examples means, linear regression fits the simplest model, and model selection decides how complex a model should be. Linear classification and nearest neighbours predict categories, and evaluating classifiers measures them honestly; a reader who wants only the core supervised picture can stop there. Margins and kernels builds the support vector machine, learning theory says when good performance on new data can be guaranteed, and trees and ensembles builds decision trees, bagging and boosting.

Unsupervised learning finds structure without labels, and probabilistic modelling treats a model as a probability distribution. The last modules face deployment: distribution shift, when live data differs from training data; interpretability and fairness, for explaining and auditing a model; and case studies that put the pieces together. Deep Learning picks up where this course stops.

87 topics across 14 modules, in dependency order.

This course teaches none of its own mathematics. Calculus, linear algebra, probability, statistics, optimisation and information theory are Mathematics topics, and every lesson names the ones it needs under “Before this topic”. What stays here is machine learning’s own material: risk and empirical risk minimisation, the Bayes-optimal predictor, the estimators and their fitting procedures, evaluation, learning theory, kernels, ensembles and probabilistic models.

87 of 87 topics are authored; the rest are labelled planned and excluded from progress. Glossary and decision-guide entries cover the authored material and grow with the course.

Course map

Read at your own pace. Each topic is one continuous page; mark it done as you finish.

Start with 01.1 · What learning is: prediction from examples drawn from a distributionReview what you have finished