Single-variable calculus from first principles
Suppose you want the lowest point of a curve but you can only see the ground directly under your feet; you can feel the slope, nothing more. What do you do? Simple: step in the downhill direction, then feel again, then step again. Repeat. That's gradient descent, the algorithm that trains essentially every modern AI model.
🔒 This is a Pro lesson — the interactive figure, worked examples, quiz and practice open with Pro access.
▶ Gradient Descent Preview