Type at least 2 letters. Enter opens the first result, Esc closes.

    Free · interactive · open source

    Learn the mathematics of machine learning by moving it.

    Free, open tutorials on the mathematics of machine learning and on machine learning. Each lesson has interactive figures, worked examples with answers, quizzes, curated videos and a Colab notebook to code along.

    Interactive figure: loading…
    Drag the two arrow tips. The matrix sends the unit square to the parallelogram they span, and every grid line follows.
    PredictEach lesson opens with a question to answer before you read.
    SeeInteractive figures you can drag
    CheckShort quizzes with explanations
    CodeA Colab notebook per lesson

    Mathematics for machine learning

    The language every model is written in.

    Machine learning

    From linear models to transformers
    Coming

    ML Fundamentals

    Linear and logistic regression, regularization, bias and variance, kernels and SVMs, trees and boosting, clustering and evaluation.

    Live

    Deep Learning

    MLPs and backpropagation, initialization and normalization, CNNs and RNNs, attention and the transformer, state-space models.

    17 lessonsabout 21 hours75 figures
    Live

    Generative Models

    VAEs, autoregressive models, normalizing flows, GANs, diffusion and flow matching.

    15 lessonsabout 23 hours62 figures
    Live

    Reinforcement Learning

    MDPs and Bellman equations, bandits, Q-learning, policy gradients, PPO and RL for language models.

    10 lessonsabout 13 hours41 figures
    Coming

    Large Language Models

    Tokenization, pretraining, scaling laws, efficient inference, fine-tuning, RAG and alignment.

    Coming

    Computer Vision

    Images as tensors, convolutions and CNN architectures, detection, segmentation, vision transformers and self-supervised vision.

    Coming

    Graph Machine Learning

    Graphs and their matrices, spectral methods, message passing, GCN, GAT and graph transformers, with applications in science.

    Applied and engineering

    Machine learning for science