Gradient descent and backpropagation
A fresh network has billions of random weights and gets everything wrong. A few weeks later it writes code. Nobody set a single one of those weights. One loop did, repeated millions of times - measure the error, work out which way each weight should move, and move it a little.
In this lesson you'll learn to
- Explain the gradient as the slope of the loss for each weight, and how gradient descent uses it.
- Explain the learning rate, mini-batches and optimizers such as Adam, and what goes wrong when the step size is off.
- Describe backpropagation as the chain rule applied backwards in one pass, and what it costs.
- Recognise vanishing and exploding gradients and loss spikes, and the usual fixes.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.