The learning rate
Every step of training walks the dials downhill. How far should each step go, and what happens if it goes too far?
Five points sit on the line y = 2x + 1, and two dials start at zero. Every step walks both dials downhill against their slopes, and one control sets how far. The panels show the verdict, the steps to a loss under 0.01, and the loss per step. Too small crawls. Too big overshoots, then blows up.
Free with an account
This lab is free with an account.
A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.
No card, and chalk sends no email. Google sign-in only.
the lesson How It Learns (loss, gradient descent, backprop)
The whole idea this lab came from, told start to finish.
on the path Module 1 of 9 in AI: Neurons to a language model
The lessons, boards and videos around this lab, in reading order.