A neural network turns raw numbers into a prediction through a forward pass: each layer takes the activations of the layer before it, combines them with learned weights and a bias into a weighted sum, and squashes that sum through an activation function to produce the next layer's activations. Repeating this from the input layer to the output layer produces the network's final prediction.
z = Σ(weight × input) + bias and apply the chosen activation function before lighting up.Without a nonlinear activation function, stacking any number of layers would collapse mathematically into a single linear transformation — activation functions like ReLU are what let deep networks approximate curved, complex decision boundaries at all.
A layered 3D network of neurons where every weighted connection and every activation is computed live, letting you watch a signal travel from raw input to prediction one layer at a time.
Each neuron's glow encodes its activation value; each connection's color and thickness encode its weight's sign and magnitude. Running the pass animates the real weighted-sum-then-activation computation layer by layer.
Adjust the three input values, pick an activation function, and scale the weights, then press Run forward pass to watch the signal propagate and see the predicted output class light up.
Without a nonlinear activation function like ReLU, sigmoid, or tanh, any stack of layers collapses mathematically into one linear function, no matter how many layers you add.