Math · Advanced · Lesson 4 of 7
Gradient Ascent & Descent
How machines learn
An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Gradient ascent: . Descent uses .
- It finds the nearest peak (or valley), which may only be local.
- Step size matters. Gradient descent is how neural networks are trained.
Steps
- Climbing in the fog
- Which summit?
- One step by hand
- Too big a step
- Three steps down
- Training a neural network