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

  1. 1Slopes and the Meaning of a DerivativeFind the slope of y = 3x + 1 between two points.
  2. 2Derivative Rules for Common FunctionsDifferentiate 4x³ + 2x to get 12x² + 2.
  3. 3The Product RuleDifferentiate x² sin x using the product rule.
  4. 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
  5. 4The Chain Rule
  6. 5Partial Derivatives
  7. 6The Gradient Points Uphill
  8. 7The Jacobian Matrix
  9. 8The Hessian and Hard Landscapes
  10. 9The Chain Rule with Many Variables
  11. 10A Neural Network Is a Function
  12. 11Backpropagation
  13. 12Building a Function from Powers
  14. 13Straight-Line Approximations and Their Limits
  15. 14Approximations in Two Variables
  16. 15Finding Roots with Newton's Method
  17. 16Gradient Descent
  18. 17Optimising with a Constraint
  19. 18Fitting a Straight Line by Least Squares
  20. 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
A Milo lesson: Milo explains an idea and draws it on the blackboard
A quick check in a Milo lesson, answered correctly, with Milo's explanation

More in Science & Math

Free 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.