LESSON 5.C3 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
One training step end to end
Follow one batch through forward pass, loss, backpropagation and an Adam update.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 5.C3 · TRAINING BAYSTEP 1 · 4 POINTS FORWARD
01
Stage 1 of 6 · Forward pass
Step 1: the 4 XOR points run forward through the starting weights. Each point gets a prediction ŷ.
Explain it simply
A training step starts with a forward pass. All four XOR points go through the network at once, as one batch. Each hidden neuron adds up its weighted inputs and keeps only the positive part. The output squeezes its sum into a number between 0 and 1, the prediction.
Step 1. Four inputs, four hidden rows and four predictions: 0.50, 0.33, 0.51, 0.39.
inputs, hidden values, targetsweights and biasesprediction ŷ and step Δwlosses and gradientsa 0 from ReLU, or a negative weight
Toy: a 2-4-1 MLP · the 4 XOR points as one batch · 5.02's seeded start
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each neuron sums its weighted inputs and keeps the positive part.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.