r/learnmachinelearning • u/StarrLoord005 • 8d ago
Discussion Backprop finally clicked when I did it by hand on a tiny 2-2-1 network with a pencil. Here's the page
I'd watched every video and could recite the chain rule, but never really got where the numbers came from.
So I took a network with 2 inputs, 2 hidden neurons, 1 output, picked actual numbers for weights, and did one forward pass and one backward pass on paper. Every multiplication written out.
Two things clicked:
- Each weight's gradient is just 'how much did this weight's input fire' × 'how wrong was the thing downstream'
- The hidden layer's error is literally the output error passed back through the same weights
Took about an hour and four pages. Highly recommend it if you're stuck where I was.
What was the thing that made backprop click for you?