inPace
All coursesكل الدورات

Maths for ML 2: matrix decompositions and vector calculus

  • about 12 h of lessonsحوالي 12 ساعة من الدروس
  • 8 modulesوحدات · 27 lessonsدروس
  • Englishالإنجليزية

Part 2 of 4, following the free book Mathematics for Machine Learning (Deisenroth, Faisal, Ong). Determinants and trace, eigenvalues and eigenvectors, Cholesky, eigendecomposition, the singular value decomposition and low-rank approximation; then derivatives, gradients, Jacobians, matrix calculus identities, backpropagation and automatic differentiation, Hessians and Taylor series. Each lesson opens your own copy of the book (free from mml-book.com; inPace finds it), with notes, 3Blue1Brown videos, interactive explorers, worked exercises with instant feedback, and charts. Plan: 8 days.

byمن إعداد inPace checkedموثّق

Uses a book you download yourself, free:تستخدم كتابًا تحمّله بنفسك مجانًا: Mathematics for Machine Learning. mml-book.com inPace 1.20 or newer finds it on your device.يجده inPace 1.20 أو أحدث على جهازك.

mathmachine learninglinear algebramml book3blue1browneigenvaluessvdcalculus

On these roadmaps:ضمن هذه المسارات: Maths for machine learning, Machine learning, from the maths up

What's insideمحتوى الدورة

Each module ends with tasks. The next module opens when they're done.تنتهي كل وحدة بمهام، وتُفتح الوحدة التالية عند إنجازها.

  1. Day 1: Determinant and trace 4 lessonsدروس · 75 min د
    • Start here10 min د
    • Read: determinant and trace (4.1)slidesشرائح45 min د
    • Watch: The determinantYouTubeيوتيوب10 min د
    • Explore: watch the determinant10 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  2. Day 2: Eigenvalues and eigenvectors 2 lessonsدروس · 77 min د
    • Read: eigenvalues and eigenvectors (4.2)slidesشرائح60 min د
    • Watch: Eigenvectors and eigenvaluesYouTubeيوتيوب17 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  3. Day 3: Cholesky and eigendecomposition 2 lessonsدروس · 50 min د
    • Read: Cholesky decomposition (4.3)slidesشرائح15 min د
    • Read: eigendecomposition and diagonalization (4.4)slidesشرائح35 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  4. Day 4: The singular value decomposition 2 lessonsدروس · 80 min د
    • Read: the SVD (4.5)slidesشرائح70 min د
    • Explore: the SVD in the matrix explorer10 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  5. Day 5: Matrix approximation and the big picture 3 lessonsدروس · 85 min د
    • Read: matrix approximation (4.6)slidesشرائح35 min د
    • Read: matrix phylogeny and further reading (4.7–4.8)slidesشرائح20 min د
    • Check yourself: chapter 430 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  6. Day 6: Derivatives, partial derivatives and gradients 5 lessonsدروس · 120 min د
    • Read: differentiation of univariate functions (5.1)slidesشرائح40 min د
    • Read: partial derivatives and gradients (5.2)slidesشرائح30 min د
    • Watch: The essence of calculusYouTubeيوتيوب17 min د
    • Watch: The paradox of the derivativeYouTubeيوتيوب17 min د
    • Watch: Visualizing the chain rule and product ruleYouTubeيوتيوب16 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  7. Day 7: Gradients of vectors and matrices 3 lessonsدروس · 98 min د
    • Read: gradients of vector-valued functions (5.3)slidesشرائح45 min د
    • Read: gradients of matrices and useful identities (5.4–5.5)slidesشرائح35 min د
    • Watch: Derivative formulas through geometryYouTubeيوتيوب18 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  8. Day 8: Backpropagation, Hessians and Taylor series 6 lessonsدروس · 155 min د
    • Read: backpropagation and automatic differentiation (5.6)slidesشرائح45 min د
    • Watch: Backpropagation, intuitivelyYouTubeيوتيوب13 min د
    • Watch: Backpropagation calculusYouTubeيوتيوب10 min د
    • Read: higher-order derivatives, linearization and Taylor series (5.7–5.9)slidesشرائح40 min د
    • Watch: Taylor seriesYouTubeيوتيوب22 min د
    • Check yourself: chapter 525 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة

Read a lesson firstاقرأ درسًا أولًا

Start here

This is part 2 of 4 of Mathematics for Machine Learning: matrix decompositions and vector calculus (chapters 4 and 5). It assumes part 1 (vectors, matrices, rank, inner products, projections).

First, get the book (free)

This course follows Mathematics for Machine Learning by Marc Peter Deisenroth, A. Aldo Faisal and Cheng Soon Ong (Cambridge University Press, 2020). The authors give the PDF away for personal use, but it may not be shared, so it is not inside this course. Each lesson opens the right pages of your own copy.

  1. Download the PDF from mml-book.com (the link "PDF of the book").
  2. On this course's page, in the box "This course reads a book you get yourself", press Find it for me. inPace looks in your Downloads, Documents and Desktop folders (on a phone: Download, Documents, Books) and recognizes the book by its title and number of pages, whatever the file is called.
  3. If it's somewhere else, choose the folder or the file yourself.

If inPace warns that the page count is different, you have another printing: the lessons may open a page or two off. The course expects the 412-page PDF from mml-book.com.

Using an older inPace? Before 1.20, rename the file to mml-book.pdf and put it in this course's folder. Before 1.21, the optional task and explanation still count as required. Updating inPace fixes both.

Your plan

Days Module Book
1 Determinant and trace 4.1
2 Eigenvalues and eigenvectors 4.2
3 Cholesky and eigendecomposition 4.3–4.4
4 Singular value decomposition 4.5
5 Matrix approximation and the big picture 4.6–4.8
6 Derivatives, partial derivatives and gradients 5.1–5.2
7 Gradients of vectors and matrices 5.3–5.5
8 Backpropagation, Hessians and Taylor series 5.6–5.9

About 1 to 1.5 hours a day, for 8 days. The SVD (day 4) and matrix gradients (day 7) are the hardest; plan an extra day for either if you need it.

How each module works

  • Read lessons open the book at the right pages, with notes under them: what matters most, what to skim, and the intuition behind the formulas. Read with a pencil. The book's examples are worth redoing by hand.
  • Watch lessons play a 3Blue1Brown video that shows the same idea moving. Watch it before or after the reading, whichever you like.
  • Explore lessons are small interactive pages: drag, slide and see the math change.
  • Check yourself pages give you exercises with instant feedback and worked answers. They don't count for anything.
  • Each module ends with a quiz you need 70% to pass to open the next module. There's also a task and a short explanation in your own words: they're optional, but doing them is the best way to make it stick.

Licenseالرخصة: CC-BY-SA-4.0 · Updatedآخر تحديث 2026-11-13

Book (not included): Mathematics for Machine Learning by Marc Peter Deisenroth, A. Aldo Faisal and Cheng Soon Ong, Cambridge University Press 2020, free to download for personal use at mml-book.com. Videos: 3Blue1Brown (Grant Sanderson) on YouTube. Notes, charts, interactive pages, tasks and questions: inPace.

Add to inPaceأضف إلى inPace