๐Ÿง  ML Playground
๐ŸŽฎ All games โ† Back to lesson
๐Ÿง 

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.