Live Network
IdleControls
Probe an input
Output vs Sample Result
How It Works
-
1. Forward pass
Inputs flow left to right. Each connection multiplies by a weight, then each neuron applies a sigmoid:
sigma(x) = 1 / (1 + e^(-x)). -
2. Error signal
The output is compared to the XOR target. Loss uses mean squared error so the network knows how wrong it is.
-
3. Backpropagation
Gradients flow right to left. Weights nudged opposite the gradient reduce future error by a fraction set by learning rate.
-
4. Repetition
Repeating this over samples and epochs teaches the network a nonlinear pattern that a single-layer perceptron cannot solve.