Turn the weight and the bias by hand until the loss is as low as you can get it.
Estimated time: 5 minutes · page 3 of 7
Fit the line by hand
The board starts with w = 0 and b = 0, a flat line along the bottom that misses every team. Your job is to get the loss as low as you can with the two sliders.
Raise b until the line runs through the middle of the dots. The loss drops a lot.
Now tilt it with w until the line follows the dots from bottom left to top right.
Go back and forth between the two in small moves. Watch the loss, not the picture, once you are close.
Get within 0.005 of the best possible MSE. The board tells you when you are there.
Press Show best line to see the exact answer and how close you got.
Then pick another league and do it again. The best w and b move a little, but not much: a goal is worth about the same everywhere.
Check yourself
Why not always by hand?
Two sliders are fine. A model with ten features has eleven, and a neural network has millions, far too many to turn by hand. You don't have to, because the loss itself says which way each one should move. Following it downhill is gradient descent, on the next page.