Math for Machine Learning
A single sequence for the mathematics ML actually uses: linear algebra first, then probability and statistics, then calculus, then eigen-decomposition. You implement every operation by hand, from dot products to Jacobians and t-statistics. Start here if you want one path that covers the whole mathematical toolkit.
Your progress
0/31 · 0%Path readiness 0%Easy 0% · Medium 0% · Hard 0%
Continue path · Vector AdditionWhat you will learn
- Operate on vectors and matrices the way models do
- Reason about rank, eigenvalues, and orthogonalization
- Compute gradients, Jacobians, and Hessians by hand
- Use distributions, expectation, and correlation in modeling
1Vectors and Matrix Algebra
The linear algebra ML runs on: vector arithmetic, dot products, norms, matrix transpose and multiplication, trace, and Hadamard products.
- Easy
- Easy
- Easy
- Easy
- Easy
- Easy
- Easy
- Easy
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- Matrix TransposeEasy
- Matrix TraceEasy
- Hadamard ProductEasy
2Probability and Statistics
The modeling half: expected value and variance, Bayes' rule, the normal CDF, means and variances, Pearson correlation, and one-sample t-statistics.
- Easy
- Medium
- Bayes TheoremMediumpr-001Probability
- Medium
- MeanEasyst-001Statistics
- VarianceEasyst-002Statistics
- Medium
- Medium
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- Normal CDF via erfMedium
- Pearson CorrelationMedium
- One-Sample t-StatisticMedium
3Calculus and Gradients
How models improve: numerical derivatives and gradients, directional derivatives, Newton steps, partial derivatives of quadratic forms, and full Jacobians and Hessians.
- Easy
- Easy
- Easy
- Medium
- Medium
- Medium
- Jacobian MatrixHardca-004Calculus
- Hessian MatrixHardca-005Calculus
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
4Eigenvalues and Orthogonality
Why PCA and spectral methods work: cosine similarity, rank via row reduction, eigenvalues and eigenvectors, orthonormalization, power iteration, and Rayleigh quotients.
- Medium
- Medium
- Medium
- Medium
- Medium
- Hard
- Hard
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
Capstone
Pen and paperClose the path with one real artifact from the catalog.
A handwritten final check on the projection arithmetic this path drills.