Start here

If you only read one thing.

  • Mathematics for Machine Learning Free Book Deisenroth, Faisal & Ong. Covers exactly the math used in ML — linear algebra, vector calculus, probability, optimisation — and nothing else. The single most-recommended starting point.

Linear Algebra

Vectors, matrices, eigendecomposition, SVD — the language every ML model speaks.

  • 3Blue1Brown — Essence of Linear Algebra Free Video 15-video visual series. The intuition pump for "what is a matrix doing?" Watch alongside any textbook — you'll never see linalg the same way.
  • MIT 18.06 — Gilbert Strang Free Course The classic MIT linear algebra course. Strang's lectures are widely considered the best math lectures on YouTube. Pair with his book "Introduction to Linear Algebra".
  • Immersive Linear Algebra Free Interactive Browser-based textbook with interactive 3D visualizations on every page. Best when you want to play with concepts before reading the formal definitions.
  • Matrix calculus quick reference Free Cheatsheet Print and pin to your wall. Covers the matrix-calculus identities you'll keep forgetting when deriving backprop.
  • The Matrix Calculus You Need For Deep Learning Free Article Parr & Howard. Long but focused: exactly the matrix calculus identities used in neural network derivations, with examples.

Calculus & Optimization

Derivatives, the chain rule, gradient descent, and convex optimization. The machinery of training.

Probability & Statistics

Distributions, expectation, MLE / MAP, Bayesian inference, hypothesis testing.

  • Seeing Theory Free Interactive Brown University's interactive probability primer. Click, drag, see what happens. The best intuition builder for distributions, regression, and inference.
  • McElreath — Statistical Rethinking Book + Lectures The friendliest Bayesian textbook. Free lectures on YouTube; book is paid but worth every cent. Builds intuition through worked examples and chapter-by-chapter Stan / PyMC code.
  • Think Stats — Allen Downey Free Book Stats taught through Python. Light on theory, heavy on the things you'll actually do. Free PDF + companion notebooks.
  • Wasserman — All of Statistics Book Compressed treatment of mathematical statistics. Goes fast, assumes mathematical maturity. The reference when you want the formal treatment in one place.
  • Murphy — Probabilistic Machine Learning Free Book Two volumes, free PDF. Volume 1 (Foundations) covers ML through a probabilistic lens; volume 2 (Advanced) goes into modern Bayesian methods. Strongest single source on probabilistic ML.

Information Theory

Entropy, KL divergence, cross-entropy, mutual information. Underrated for ML — most loss functions are info-theoretic.

Cheat sheets & references

When you need a formula or identity, fast.

  • The Matrix Cookbook Free Reference Petersen & Pedersen. The definitive reference for matrix identities, derivatives, and inverses. Bookmark this; you'll come back.
  • Stanford CS229 — Probability Cheatsheet Free Cheatsheet Compact reference for distributions, expectations, common identities. Companion cheatsheets for linear algebra and the broader course also worth grabbing.