
09 · Matrix Factorizations
Part IV, Block 5 of Tensors for Machine Learning. Section 01 drew the map of factorizations. This section walks it, on real data, and answers the two questions a practitioner actually has: which one do I reach for on this data, and what does it cost me?
The organizing idea is that all six are constrained optimizations, and the constraint is what gives each factorization its shape. QR minimizes ‖y − Xβ‖ subject to an orthonormal Q. The truncated SVD minimizes ‖A − B‖_F subject to rank(B) ≤ k, and Eckart–Young–Mirsky proves nothing else does better. NMF minimizes the same quantity subject to W, H ≥ 0 — worse on error by construction, and chosen anyway, because the components come out as parts you can name.
This is also where eigendecomposition finally gets named, an hour before section 10 leans on the same machinery.
Study here, then run the real thing: notebook 09 on Colab · the handbook · workshop home
Built from the workshop’s own material by Ravi Kalia and Sebastian Laverde Chunza, CC BY 4.0.
Choose how to study
Flash Cards
Flip between question and answer, in both languages, at your own pace.
Rapid Repetition
Short sessions that resurface exactly what you forget, until it sticks.
Practice Test
Exam-style questions with a score at the end. Find your weak spots.
Quiz Game
Beat the clock: answer before time runs out and raise your high score.
Explore the topics
Read it all?
Rapid repetition replays exactly what you forget — the fastest way to lock it in before the exam.