Press Train · tap the map to add points
Each neuron adds up its weighted inputs, adds a bias, and passes the result through an activation function:
The network's error is measured by the loss. Training nudges every weight a small step downhill:
η is the learning rate. The gradients are found layer by layer from the output back: backpropagation.
Start with “Two blobs” and zero hidden layers: the boundary is a straight line, exactly like logistic regression.
Then ask the class to “break” the line with XOR data, and let them discover that a hidden layer lets the network bend its boundary.
A free coding & ai simulation for Class 9–12.