How a Neural Network Learns

Watch this tiny neural network learn the XOR function. Adjust the learning rate, train the network, and see how it improves over time!

Neural Network

Input Layer
Hidden Layer
Output Layer
0, 0 → 0
0, 1 → 1
1, 0 → 1
1, 1 → 0
Predictions will appear here during training...

Training Controls

0.01 0.10 1.00
Epochs trained: 0

Loss Over Time