Skip to content

Machine Learning

The classic path into machine learning — from the first linear model to gradient boosting and a first encounter with neural networks. The lessons run in order: each one builds on the previous, and the formulas and ideas from the theory can be reinforced right away in the Lab.

📚 13 lessons 🧪 Practice in the Lab

Course syllabus

01IntroductionWhy machine learning is needed, how a problem is framed, supervised and unsupervised learning — and how the course is put together. 02Linear RegressionThe simplest model that predicts a number: the MSE loss function, the derivative, gradient descent and regularization. 03Optimization IGradient descent, learning rate, batch/SGD/mini-batch and Momentum — how a model finds the minimum. 04Optimization IISubgradient and subdifferential, AdaGrad and Adam: what to do about kinks in a function and how not to forget the history of gradients. 05Metric MethodsFeature space, distances and metrics, feature scaling and the first steps with KNN. 06Logistic RegressionClassification through the sigmoid: class probability, the logistic loss function and the decision boundary. 07PCA & friendsDimensionality reduction: PCA and SVD — how to compress data while keeping what matters. 08SVMSupport vector machines: margin maximization, kernels and separating surfaces. 09Decision TreesDecision trees: splitting criteria, depth and why a single tree is so easy to overfit. 10EnsemblesRandom forest and bagging: many trees together are more accurate than each one on its own. 11Gradient Boosting IBoosting: how models correct each other's mistakes, and what gradient boosting is. 12Gradient Boosting IIXGBoost, LightGBM, CatBoost: tuning, regularization and feature importance in practice. 13Introduction to Deep Learning INeural networks: the perceptron, backpropagation and why “deep” wins.

Practice in the Lab

Some topics are easier to work through together with the interactive pages of the Lab:

What's next

The course is filled in gradually: finished lessons are published as they are proofread. If a topic is missing, write through the “Feedback” button and I will add it to the plan.