The network
Circles are neurons. Lines are weighted connections: blue pushes a signal up, pink pushes it down. Thicker lines mean stronger weights.
2 inputs3 hidden neurons1 output
Training complete: the loss is low!
1. Forward passThe two input numbers flow through the network to make a prediction.
2. Measure errorLoss compares the prediction with the correct XOR answer.
3. Backprop + updateGradient descent nudges each weight in the direction that reduces loss.