Index

One Knob, One Slope

How It Learns
How It Learns · Open board

The How It Learns board draws the whole training loop: loss, slope, step, repeat. This lesson takes the smallest slice of it, one neuron with one input and one target, and runs the loop by hand with real numbers until “gradient” stops being a word and becomes a direction you can point at.

Before you start. You need How It Learns (loss, gradient descent, backprop), which gave you the loop: boil wrongness down to one number called the loss, find each dial’s slope, and step every dial against its slope by an amount the learning rate sets. From What a Neural Network Is you need one more thing: a neuron multiplies its input by a dial called a weight, adds up the result, and passes the total on.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Lab

Every step of training walks the dials downhill. How far should each step go?

Drag How far each step goes from 0.001 up to 0.5 and watch Steps to a loss under 0.01 fall, then vanish.

Open The learning rate →

Related paper

Review AI →

Saved in this browser, and to your account when you sign in.