Pro
Pro lesson

Training a network

Stack neurons into layers and watch them learn to draw real borders on a map.

This one’s part of How Models Learn Pro — every lesson, every interactive, and new ones as they land. About 12 minutes.

Already Pro? Sign in and you’ll go straight in.

Inside “Training a network”

What you’ll learn

  1. Why one neuron is not enough
  2. The forward pass
  3. Loss and backpropagation
  4. Untangling a patchwork
  5. Learning rate and capacity
  6. What the hidden neurons learn

Key terms

Hidden layer
A layer of neurons between the inputs and the output. Nobody tells it what its outputs should be — the training data only gives the right answer for the final output.
Forward pass
Running an input through the network, layer by layer, to get a prediction.
Loss
A single number measuring how wrong the network’s predictions are. Training tries to make it smaller.
Backpropagation
The method for working out how much each weight contributed to the loss, by passing errors backwards through the network.
Epoch
One full pass over all the training data.
Learning rate
How big a step each weight takes on every update. Too small is slow; too large is unstable.
Capacity
How complex a pattern a model can represent, roughly set by how many neurons and layers it has.
Learned feature
A pattern a hidden neuron has learned to respond to, such as an edge or a corner. Unlike the input features in the first lesson, nobody chooses these.

Sources