๐ง
Neuron Wiring: Solve XOR
Four points, two classes, no straight line can separate them. Hand-tune all 9 weights of this tiny 2-hidden-neuron network until the heatmap correctly colors all four corners.
๐ Advanced
~4 min
Concept: Neural Networks ยท Backprop ยท Activations
Live decision boundary
๐ = class 0, ๐ต = class 1. The four dots are the XOR training points โ get every dot's color to match its ring.
๐ Why one layer isn't enough
A single-layer network can only draw one straight boundary. XOR needs two โ this network gets there by combining an "OR-ish" neuron and an "AND-ish" neuron in its hidden layer, exactly the trick behind why deep networks stack layers.