Domain
Calculus
Rates of change and how they combine: derivatives, the chain rule, Jacobians and Taylor approximation, and the reverse-mode differentiation that makes backpropagation efficient.
Preview the recommended route
Start here. Make one prediction, then note what carries over to the next notebook.
f(x)dxdf/dxlocal changeRead the first notebook, make one prediction in its demo, then go on to the next.
Recommended route
Start here, then follow the prerequisites forward.
Read these in order: each notebook comes after the notebooks in this domain that it builds on, and the label beside it gives its level. A prerequisite with no page here yet is marked as outside reading. A notebook is left out of the route only when a prerequisite has neither a page here nor a named outside reading; the full list below marks it.
- 01Derivatives
The derivative is an instantaneous rate of change: the slope you get when a secant line becomes a tangent line.
Introductory14 mincodedemoafter Functions (outside reading) - 02Computation Graphs
A computation graph breaks a calculation into nodes so values flow forward and sensitivities flow backward.
Introductory13 mincodedemoafter Derivatives, Chain Rule (outside reading)Computation Graphs builds directly on Derivatives.
- 03Reverse-Mode Automatic Differentiation
Reverse-mode autodiff computes gradients by sending sensitivities (cotangents) backward through a computation graph, so one backward pass gives the gradient of a scalar loss.
Intermediate14 mincodedemoafter Computation GraphsReverse-Mode Automatic Differentiation builds directly on Computation Graphs.
- 04Backpropagation
Backpropagation applies reverse-mode autodiff to neural networks so one scalar loss can train many parameters.
Intermediate15 mincodedemoafter Reverse-Mode Automatic DifferentiationBackpropagation builds directly on Reverse-Mode Automatic Differentiation.
All notebooks
Every published notebook in this domain.
Derivatives
The derivative is an instantaneous rate of change: the slope you get when a secant line becomes a tangent line.
Computation Graphs
A computation graph breaks a calculation into nodes so values flow forward and sensitivities flow backward.
Reverse-Mode Automatic Differentiation
Reverse-mode autodiff computes gradients by sending sensitivities (cotangents) backward through a computation graph, so one backward pass gives the gradient of a scalar loss.
Backpropagation
Backpropagation applies reverse-mode autodiff to neural networks so one scalar loss can train many parameters.