Math for Machine Learning
The bridge that ties linear algebra, calculus, and probability together for AI/ML – in Python. 23 single weeks at a sustainable ~1.5 hrs/week (two short sessions). Video weeks list exact sections with lecture counts and run times; the last weeks use the free book. Primary course: Mathematical Foundations of Machine Learning by Dr Jon Krohn - https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab) (covers linear algebra and calculus). Free book: Mathematics for Machine Learning by Deisenroth, Faisal and Ong - https://mml-book.github.io (opens in a new tab) (chapter references in each week). Take after Calculus and Linear Algebra.
0% · 0/23 weeks · ~16h left
Comes after: Linear Algebra
Week 1Linear algebra: Data Structures for Linear Algebra (part 1)0/4 · ~1h 2m
Watch this week (~57m of video): Data Structures for Linear Algebra. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §1 Data Structures for Linear Algebra – lectures 1–7 (~57m)
- Run the course notebooks yourself in Python
- Review this course’s flashcards (5 min)
- Free book: skim Mathematics for Machine Learning ch. 2 Linear Algebra (https://mml-book.github.io (opens in a new tab))
Week 2Linear algebra: Data Structures for Linear Algebra (part 2)0/2 · ~48m
Watch this week (~48m of video): Data Structures for Linear Algebra. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §1 Data Structures for Linear Algebra – lectures 8–13 (~48m)
- Run the course notebooks yourself in Python
Week 3Linear algebra: Tensor Operations0/3 · ~1h
Watch this week (~55m of video): Tensor Operations. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §2 Tensor Operations (9 lectures, 55m)
- Run the course notebooks yourself in Python
- Review this course’s flashcards (5 min)
Week 4Linear algebra: Matrix Properties (part 1)0/2 · ~47m
Watch this week (~47m of video): Matrix Properties. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §3 Matrix Properties – lectures 1–5 (~47m)
- Run the course notebooks yourself in Python
Week 5Linear algebra: Matrix Properties (part 2)0/3 · ~42m
Watch this week (~37m of video): Matrix Properties. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §3 Matrix Properties – lectures 6–9 (~37m)
- Run the course notebooks yourself in Python
- Review this course’s flashcards (5 min)
Week 6Linear algebra: Eigenvectors and Eigenvalues (part 1)0/3 · ~53m
Watch this week (~53m of video): Eigenvectors and Eigenvalues. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §4 Eigenvectors and Eigenvalues – lectures 1–4 (~53m)
- Run the course notebooks yourself in Python
- Free book: Mathematics for Machine Learning ch. 4 Matrix Decompositions (eigen, SVD)
Week 7Linear algebra: Eigenvectors and Eigenvalues (part 2)0/4 · ~58m
Watch this week (~53m of video): Eigenvectors and Eigenvalues. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §4 Eigenvectors and Eigenvalues – lectures 5–8 (~53m)
- Run the course notebooks yourself in Python
- Review this course’s flashcards (5 min)
- Free book: Mathematics for Machine Learning ch. 4 Matrix Decompositions (eigen, SVD)
Week 8Linear algebra: Eigenvectors and Eigenvalues (part 3)0/3 · ~26m
Watch this week (~26m of video): Eigenvectors and Eigenvalues. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §4 Eigenvectors and Eigenvalues – lectures 9–10 (~26m)
- Run the course notebooks yourself in Python
- Free book: Mathematics for Machine Learning ch. 4 Matrix Decompositions (eigen, SVD)
Week 9Linear algebra: Matrix Operations for Machine Learning0/3 · ~1h 20m
Watch this week (~1h 15m of video): Matrix Operations for Machine Learning. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §5 Matrix Operations for Machine Learning (8 lectures, 1h 15m)
- Run the course notebooks yourself in Python
- Review this course’s flashcards (5 min)
Week 10Calculus: Limits0/3 · ~1h 8m
Watch this week (~1h 8m of video): Limits. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §6 Limits (8 lectures, 1h 8m)
- Run the course notebooks yourself in Python
- Free book: Mathematics for Machine Learning ch. 5 Vector Calculus
Week 11Calculus: Derivatives and Differentiation (part 1)0/2 · ~43m
Watch this week (~43m of video): Derivatives and Differentiation. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §7 Derivatives and Differentiation – lectures 1–7 (~43m)
- Run the course notebooks yourself in Python
Week 12Calculus: Derivatives and Differentiation (part 2)0/2 · ~43m
Watch this week (~43m of video): Derivatives and Differentiation. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §7 Derivatives and Differentiation – lectures 8–14 (~43m)
- Run the course notebooks yourself in Python
Week 13Calculus: Automatic Differentiation (part 1)0/2 · ~39m
Watch this week (~39m of video): Automatic Differentiation. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §8 Automatic Differentiation – lectures 1–3 (~39m)
- Run the course notebooks yourself in Python
Week 14Calculus: Automatic Differentiation (part 2)0/2 · ~39m
Watch this week (~39m of video): Automatic Differentiation. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §8 Automatic Differentiation – lectures 4–6 (~39m)
- Run the course notebooks yourself in Python
Week 15Calculus: Partial Derivative Calculus (part 1)0/3 · ~48m
Watch this week (~48m of video): Partial Derivative Calculus. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §9 Partial Derivative Calculus – lectures 1–4 (~48m)
- Run the course notebooks yourself in Python
- 3Blue1Brown Neural Networks series: the backpropagation videos (YouTube)
Week 16Calculus: Partial Derivative Calculus (part 2)0/3 · ~48m
Watch this week (~48m of video): Partial Derivative Calculus. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §9 Partial Derivative Calculus – lectures 5–8 (~48m)
- Run the course notebooks yourself in Python
- 3Blue1Brown Neural Networks series: the backpropagation videos (YouTube)
Week 17Calculus: Partial Derivative Calculus (part 3)0/3 · ~48m
Watch this week (~48m of video): Partial Derivative Calculus. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §9 Partial Derivative Calculus – lectures 9–12 (~48m)
- Run the course notebooks yourself in Python
- 3Blue1Brown Neural Networks series: the backpropagation videos (YouTube)
Week 18Calculus: Partial Derivative Calculus (part 4)0/3 · ~48m
Watch this week (~48m of video): Partial Derivative Calculus. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §9 Partial Derivative Calculus – lectures 13–16 (~48m)
- Run the course notebooks yourself in Python
- 3Blue1Brown Neural Networks series: the backpropagation videos (YouTube)
Week 19Calculus: Integral Calculus0/2 · ~1h 4m
Watch this week (~1h 4m of video): Integral Calculus. Course: https://gale.udemy.com/course/machine-learning-data-science-foundations-masterclass/ (opens in a new tab)
- Krohn §10 Integral Calculus (13 lectures, 1h 4m)
- Run the course notebooks yourself in Python
Week 20Probability for ML (part 1)0/2
Krohn’s Gale course covers linear algebra and calculus only, so probability comes from the free Mathematics for Machine Learning book (https://mml-book.github.io (opens in a new tab)) plus a refresh of your Statistics & Probability course.
- Mathematics for Machine Learning ch. 6 – first half (probability spaces, discrete and continuous distributions)
- Review your Statistics course notes on distributions and expected value
Week 21Probability for ML (part 2)0/2
Finish the probability chapter, focusing on Bayes’ theorem and the Gaussian distribution – the two ideas ML uses most.
- Mathematics for Machine Learning ch. 6 – second half (Bayes’ theorem, Gaussian distribution)
- Explain Bayes’ theorem in your own words with a real example
Week 22Optimization: how models learn0/2
Gradient descent ties your calculus to training real models.
- Mathematics for Machine Learning ch. 7 Continuous Optimization (gradient descent sections)
- Implement gradient descent from scratch on a simple function in Python
Week 23Putting it together0/3
See the math inside real models and build one yourself. This connects forward to Getting More Productive with AI, where you build on top of models.
- Mathematics for Machine Learning ch. 9 Linear Regression
- Implement linear regression from scratch in NumPy
- Optional: 3Blue1Brown Neural Networks series start to finish