What is a neural network? At its heart, it's a mathematical function inspired by the brain, designed to recognize patterns. It's built from layers of simple units called 'neurons'. This playground lets you build your own network from the ground up and see exactly how it processes information, one layer at a time.
The network's journey begins at the Input Layer. Each neuron here represents a single piece of input data. A neuron's value, called its 'activation', is just a number between 0 (off/black) and 1 (on/white). Use the sliders below to set the initial activations for your network.
The real work happens in the Hidden Layers. These intermediate layers allow the network to combine the initial inputs in increasingly complex ways. The final Output Layer gives the result. The neuron with the highest activation in this last layer is the network's 'guess'.
A neuron calculates a weighted sum of all incoming activations. It adds a personal 'bias', then passes the result through an Activation Function to 'squish' it into a useful range (e.g., 0 to 1).
Activation = σ(Weighted Sum + Bias)
10 and see how it dominates the calculation!