Explore how a neural network learns. This site lets you build and watch a tiny network work. Start with Martin's Image Recognition Machine (MIM) and change it to see what happens.
These buttons let you adjust the network. Add layers to give it more thinking steps, or change the activation function to see how the neurons react.
The network reads a tiny 2x2 picture. Click a square to flip it on or off, or use a preset to load a pattern.
The picture below shows the network working. Circles are neurons and lines are connections. Bright circles mean high activation. Line color and thickness show the weight: blue for positive, red for negative.
The output layer shows what the network thinks. In MIM, the two numbers tell how strongly each diagonal is detected. Values near 1 mean strong matches.
In the original MIM: Output 0 = Diagonal \, Output 1 = Diagonal /
Values closer to 1.0 indicate stronger detection
Weights are what the network learns. They set how strongly one neuron influences another. Change them to see how the output shifts.