Science & Math course
Calculus for Machine Learning
Apply multivariable calculus concepts like gradients and the chain rule to understand neural network optimization.
19 lessonsabout 2 hours in allBeginnerFree
Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
- Compute derivatives, partial derivatives, gradients, Jacobians, and Hessians for common functions. You can trace the chain rule through a simple neural network and take basic optimization steps with gradient descent
- Use linear approximations, Newton's method, constrained optimization, and least-squares error functions in introductory modeling problems
What you'll learn, lesson by lesson
- 1Slopes and the Meaning of a DerivativeFind the slope of y = 3x + 1 between two points.
- 2Derivative Rules for Common FunctionsDifferentiate 4x³ + 2x to get 12x² + 2.
- 3The Product RuleDifferentiate x² sin x using the product rule.
- That's a preview. 16 more lessons follow.
Take all 19 lessons free in the Milo app, with Milo teaching each one.
Start this course free - 4The Chain Rule
- 5Partial Derivatives
- 6The Gradient Points Uphill
- 7The Jacobian Matrix
- 8The Hessian and Hard Landscapes
- 9The Chain Rule with Many Variables
- 10A Neural Network Is a Function
- 11Backpropagation
- 12Building a Function from Powers
- 13Straight-Line Approximations and Their Limits
- 14Approximations in Two Variables
- 15Finding Roots with Newton's Method
- 16Gradient Descent
- 17Optimising with a Constraint
- 18Fitting a Straight Line by Least Squares
- 19Fitting Curves to Data
Inside the app
Not a video. A tutor who teaches you.
Milo explains each idea of Calculus for Machine Learning out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.
Start free

More in Science & Math
See allFree to learn
This course is free. So is Milo's help planning it.
Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.
- Can I really start for free?
- Yes. No card needed.
- Can I cancel a membership any time?
- Yes, from your account. You keep it until the end of the month you paid for.
- Where does it work?
- In any browser on a phone, tablet or computer. Phone apps are on the way.



