References
The book
This repository contains notes on the following book, which is freely available from the authors:
Marc Peter Deisenroth, A. Aldo Faisal, and Cheng Soon Ong. Mathematics for Machine Learning. Cambridge University Press, 2020. ISBN 978-1-108-47004-9 (hardback), 978-1-108-45514-5 (paperback). DOI: 10.1017/9781108679930. Free PDF: https://mml-book.github.io/
Please cite the book, not these notes, for the mathematics itself.
Sections covered in these notes
| Book section | Note |
|---|---|
| 2.1 Systems of Linear Equations | 2.1 Systems of Linear Equations |
| 2.2 Matrices | 2.2 Matrices |
| 2.3 Solving Systems of Linear Equations | 2.3 Solving Systems of Linear Equations |
| 2.7 Linear Mappings | 2.7 Linear Mappings |
Nuggets (captured ahead of reading)
Forward notes on how a concept gets applied, written before the relevant chapter is read. They are marked on the page as not yet checked against the book, and are not counted as covered sections.
| Intended section | Nugget |
|---|---|
| §7.1 Optimization Using Gradient Descent | Nugget: gradient descent |
| §8.2.3 Regularization to Reduce Overfitting | Nugget: L1 vs L2 regularization |
| §10.2–§10.3 Maximum Variance / Projection Perspective | Nugget: PCA as a change of basis |
Standing conventions
- Page images. Screenshots of book pages live under
src/images/ch<NN>/and are referenced only from the note that needs them. They are included as short excerpts for study; copyright remains with the authors and publisher. - Numbering. Note filenames use the book’s own section numbers (for example
ch02/01-systems-of-linear-equations.mdis Section 2.1), so a cross-reference in a note can always be traced back to the book by number alone. - Reproducibility. Numerical claims are backed by scripts in
scripts/, which use onlynumpy(and optionallyscipy). - Attribution. Mathematics is attributed to the book by section and equation number. The reader’s own prior DeepSeek conversations prompted some questions and produced earlier draft answers, but they are not cited here — no chat URLs, no “a conversation with DeepSeek” references.