Loading lessons…
Loading lessons…
Understand the mathematical ideas that help machine-learning models learn from examples. These lessons cover regression, gradient-based optimization, backpropagation, regularization, classification, clustering, and representation learning. They explain how a loss function measures error, how gradients guide parameter updates, and how design choices affect generalization. Interactive demonstrations connect equations to model behaviour so that concepts such as overfitting or dimensionality reduction are easier to reason about. Use the lesson links to move between prerequisites and applications; each preview gives the core idea and key formulas before the full signed-in lesson.
Move labelled observations and inspect probabilities, the decision boundary, and classification loss.
Change class logits and see probabilities, categorical loss, and its gradient update live.
Step through the forward calculations and backward gradients of a two-two-one neural network.
Watch a fitted curve and its coefficients respond to L1 and L2 penalties.
Increase polynomial complexity and compare training error with error on unseen samples.
Step through nearest-centroid assignments and mean updates on seeded points.
Compare three update rules that use gradients to move model parameters toward lower loss.
Fit the line that minimizes squared residuals and interpret its slope and goodness of fit.