Lessons39
0/39 modules masteredThe Toolkit and Linear Algebra
5 lessons · 3 hrFunctions, logs and sums first, then vectors, matrices and eigenvalues: the language models use to hold and transform data.
Math Toolkit 1: Functions, Exponents & Logs
Up NextThe first three everyday tools behind almost every ML formula: functions, exponents and logarithms. Small stories, worked numbers, and why machine learning cannot live without logs.
Math Toolkit 2: Sums, Symbols & Reading Formulas
The second half of the toolkit: set symbols, sigma and pi notation, reading a formula word by word, and sigmoid and softmax built from exp. Small stories, worked numbers, and a first look at slopes.
Vectors & Spaces
Understand vectors as geometric objects with direction and magnitude, and learn how vector spaces form the foundation of ML data representation.
Matrices as Transformations
See matrices as space-warping machines. Every neural network layer is a matrix multiplication — learn why that matters.
Eigenvalues & SVD
Discover the special directions that matrices stretch without rotating, and how SVD decomposes any transformation into simple pieces.
Calculus, Gradient Descent and Your First Model
6 lessons · 4 hrDerivatives and the gradient-descent loop, a first real model (linear and logistic regression), then tensors and backpropagation.
Calculus: Derivatives & Gradients
From single-variable derivatives to multivariable gradients — the mathematical engine behind backpropagation.
Optimization & Gradient Descent
The algorithm that makes machines learn. Follow a ball rolling downhill through a loss landscape and understand learning rates, momentum, and convergence.
Linear Regression: Your First Model
Fit a line, measure the miss with squared error, find the best line by calculus and by gradient descent, see overfitting, and turn a line into a probability with logistic regression.
Tensors, Broadcasting & Einsum
A "tensor" is just a NumPy array with extra dimensions, and shape mismatches are among the most common bugs in ML code.
Computational Graphs & Autograd
Every framework records your computation as a graph of operations. Walk that graph backward with the chain rule and you have every gradient.
Vector & Matrix Calculus: Jacobian, Hessian & Backprop Rules
Jacobian, Hessian, key matrix-calculus identities, and a full end-to-end derivation of backprop for a softmax + cross-entropy classifier.
Describing Data and Probability
8 lessons · 5 hrSummaries and shapes of real data, counting, probability and Bayes, random variables, a checkpoint to test yourself, then entropy and cross-entropy.
Descriptive Statistics & Distributions
Mean, median, mode, standard deviation, and the distributions that appear everywhere in ML.
Quantiles, Shape & Reading Real Data
Percentiles, quartiles, box plots, skewness, kurtosis, outliers and robust statistics, worked on one real-looking dataset.
From Data to Distributions
How a histogram becomes a probability distribution: relative frequency, density, the empirical CDF, and why a sample is not the population.
Counting & Probability Foundations
Sample spaces, events, the probability axioms, permutations and combinations, independence, the law of total probability, and the chain rule, computed from a real table of counts.
Probability & Bayes' Theorem
Learn to think probabilistically. Bayes' theorem is the foundation of classification, generative models, and reasoning under uncertainty.
Random Variables, Expectation & Variance
From random variables to expectation and variance — the statistical quantities that define every ML loss function and training process.
Checkpoint: Foundations Review
A self-test across the first fifteen lessons: mixed questions, three worked multi-step problems, and a repair map that tells you which lesson to revisit.
Information Theory & Entropy
Measure surprise and information content. Cross-entropy loss, KL divergence, mutual information, Jensen's inequality, and the ELBO that powers VAEs and diffusion.
Relationships, Distributions and Sampling
6 lessons · 3 hrCorrelation and causation, the named distributions, and how a sample speaks for a population.
Correlation: Pearson, Spearman & Multicollinearity
A correlation coefficient is one number that summarises a scatter plot, and it is easy to over-read. This lesson computes Pearson's r by hand, shows where it breaks with Anscombe's quartet, adds Spearman rank correlation, and explains why correlated inputs make regression coefficients unstable.
Causation, Confounding & Simpson's Paradox
A strong correlation can appear with no causal link at all. This lesson shows how a confounder manufactures one, what randomisation removes, how Simpson's paradox reverses a pooled table inside every subgroup, and how selection bias and shortcuts make models learn the wrong thing.
The Distribution Zoo, Part 1: The Core Distributions
Every dataset has a shape, and every loss function hides a distribution. Meet the handful of distributions that cover most of ML (Uniform, Exponential, Beta, Dirichlet, Categorical, Multinomial and Student-t), each with its story, its numbers and its use.
The Distribution Zoo, Part 2: Fitting Data and Heavy Tails
Real data is positive, skewed and has a tail. This lesson adds the Lognormal, shows how to check any distribution with log-likelihood, AIC, Q-Q plots and tests, covers Gamma, Chi-square and power laws, and ends with a decision guide and a worked fit of 60 API response times.
Sampling, Standard Error & the Central Limit Theorem
You never see the whole population, only a sample. This lesson measures how far a sample can mislead you: the standard error, the square root law, the Central Limit Theorem, and the bias that no amount of data can fix.
The Bootstrap & Dependent Data
When there is no formula for the error bar, resample your own data. This lesson teaches the bootstrap by hand and in code, where it breaks, and why dependent data is worth fewer observations than it looks.
Inference and Bayesian Thinking
4 lessons · 3 hrHypothesis tests, power and sample size, and Bayesian updating: how to decide whether a difference is real.
Statistical Inference: Hypothesis Testing
Understand hypothesis testing, p-values, confidence intervals, and the errors that lurk in every statistical decision.
Power & Sample Size
A test that cannot detect a real effect is a coin flip with extra steps. This lesson teaches you to size an experiment before you run it: power, the four levers, sample size for an A/B test, and power curves.
Multiple Testing, Peeking & P-Hacking
A test run twenty ways will find something that is not there, and a dashboard checked every morning will eventually turn green by luck. This lesson teaches you to count how many questions you asked and to pay for each one.
Bayesian Inference in Practice
Prior, likelihood and posterior for a whole parameter: the Beta-Binomial update, credible intervals, Bayesian A/B tests, and Thompson sampling.
Bounds and Estimation
3 lessons · 2 hrProbability inequalities with Monte Carlo, the multivariate Gaussian, and maximum likelihood: where every loss function comes from.
Probability Inequalities & Monte Carlo
Markov, Chebyshev, Hoeffding and Jensen inequalities, Monte Carlo estimation, importance sampling, and a first Metropolis sampler.
Multivariate Gaussian & Joint Distributions
Joint, marginal, and conditional distributions; the multivariate Gaussian; conditioning via Schur complement; the reparameterization trick that powers VAEs and diffusion.
MLE, MAP & Fisher Information
Where ML loss functions come from. Cross-entropy = MLE for categoricals; MSE = MLE for Gaussian noise; weight decay = Gaussian prior MAP. Fisher information and the natural gradient.
Advanced: Decisions, Constraints and Noise
5 lessons · 3 hrMarkov chains and decision processes, convex optimization and stochastic calculus. Skip these if your goal is applied ML; they feed reinforcement learning and diffusion models.
Markov Chains & the Metropolis Sampler
Learn the Markov property, transition matrices, the long-run distribution a chain settles into, PageRank, and the Metropolis sampler that turns a chain into a tool for drawing random samples.
Markov Decision Processes
Add actions and rewards to a Markov chain, solve a two-state decision problem by hand, and meet the Bellman equations behind value iteration, policy iteration and every reinforcement learning method.
Convex Optimization, KKT & Lagrangian Duality
Convex sets and functions, Lagrangian duality, KKT conditions, and the SVM dual derivation — the optimization theory behind RLHF, TRPO/PPO trust regions, and constrained ML.
Noise, Scores & Diffusion Models
Stable Diffusion, DALL-E, Sora: how a diffusion model adds noise, learns the score and removes the noise again, with no stochastic calculus.
Stochastic Calculus & SDEs (Advanced)
Brownian motion, Itô's lemma, SDEs, Fokker-Planck and the reverse-time SDE: the continuous-time language behind every diffusion paper.
Capstone
2 lessons · 2 hrOne dataset, the whole track, in two sessions: describe, test and quantify it; then model it, plan the follow-up and write the memo.
Capstone Part 1: Describe, Test and Quantify StreamBox
A guided 50-minute project on one synthetic dataset: describe it, fit its shape, check a subgroup, put intervals on the numbers, test the plan gap, and write the first half of an analyst memo.
Capstone Part 2: Model It, Plan It, Decide
Fit a churn model by gradient descent, plan the follow-up experiment, take the Bayesian view, estimate by maximum likelihood, and write the final memo against a marking rubric.
Practice labs
10 interactive labs — hands-on exercises for this track
Loss Landscape
Fly over the terrain your optimizer must navigate — peaks are bad, valleys are good
Vectors & Matrix Operations
Every neural network is just vectors being multiplied by matrices — build the intuition by dragging arrows on a coordinate plane.
Probability Distributions
Adjust μ, σ, n, p, and λ and watch the bell curve, bar chart, and shaded probability regions update live.
Eigen Decomposition Explorer
Warp a 2D plane with any 2×2 matrix and watch the eigenvectors stay fixed in direction — the axes the transformation preserves.
Derivative & Tangent Line
Drag a point along f(x) to watch its tangent line rotate and trace out f'(x) live. Zoom in until the curve BECOMES its tangent.
Chain Rule Animator
Trace df/dx backward through f(g(h(x))) — the mechanical pattern that is literally how backprop works.
Taylor Series Approximator
Drag a slider and watch a straight line morph into a perfect replica of sin, cos, eˣ, ln(1+x), or 1/(1−x).
Gradient Field Explorer
Click anywhere on a scalar field and watch a particle slide downhill along the negative gradient — always perpendicular to the contours.
Jacobian & Hessian Visualizer
Click any point on a 2D function. Gradient, Jacobian, Hessian computed live — eigenvalues classify the curvature as bowl/peak/saddle.
Convex vs Non-Convex Landscapes
Click surfaces to drop particles. Convex = gradient descent always wins. Non-convex = 10 random inits show how initialization decides your fate.
Test your knowledge
425 questions across 17 modules — check how well you understood this track.