Calculus for ML

The one number training actually runs on. Slopes, the rules that produce them, the chain rule, gradients and Jacobians, each one built back to the line of model code that uses it.

FreeUpdated 31 Aug 20266 minEasy

Calculus for ML

Most people meet calculus as a page of limits, then a page of rules, and by the time anything is actually differentiated the point has gone missing. Then they meet machine learning, where one number — how much the loss moves when you nudge one weight — turns out to be the entire mechanism of training.

This course runs the other way. Every idea starts from a number a training loop needs, and the calculus arrives as the way to get that number.

Where this course is right now

All five lessons are live. The course is complete.

Start here

Rate of change and the derivative takes about twelve minutes and assumes only that you can read a function and its graph.

Test your understanding

Prof is ready

Prof will ask you questions about what the Calculus for ML course covers, who it is for, and how it relates to the Linear Algebra for ML course — not explain it. You'll be surprised what you don't know until you have to say it.

Finished this lesson?

Read through the lesson first (0/20s).