Everwhy Open Everwhy
Computing

How can a program learn a rule it was never told, and how do you know it learned well?

Machine Learning · about 16 minutes a level

A master's-level course on the mathematics and practice of machine learning. You frame learning as risk minimisation and study generalisation, then linear and logistic regression, regularisation and optimisation, probabilistic and generative models, kernel methods and support vector machines, trees and ensembles, neural networks with backpropagation, convolution and attention, unsupervised learning with clustering, mixtures and PCA, and learning theory with PAC bounds and VC dimension, ending with evaluation and reliable deployment.

Open in Everwhy Continue on the web

Go deeper, level by level

  1. Foundations of learning: The learning problem: data, loss and risk, Generalisation and the bias–variance trade-off, Validation, cross-validation and model selection
  2. Linear models and optimisation: Linear regression, Ridge, lasso and regularisation, Logistic regression and classification, Gradient descent and stochastic gradient descent
  3. Probabilistic models: Maximum likelihood and MAP estimation, Naive Bayes and Gaussian discriminant analysis, Bayesian linear regression
  4. Kernels and support vector machines: Maximum-margin classifiers, The SVM dual problem, Kernels and the kernel trick
  5. Trees and ensembles: Decision trees, Bagging and random forests, Boosting
  6. Neural networks: Multilayer perceptrons, Backpropagation, Training deep networks, Convolutional networks, Sequence models, attention and transformers
  7. Unsupervised learning: k-means clustering, Gaussian mixtures and the EM algorithm, Principal component analysis and embeddings
  8. Learning theory and practice: PAC learning and VC dimension, Evaluation metrics and calibration, Distribution shift, robustness and fairness

Every lesson shows its sources and how sure we are, and is checked by Everwhy.