A neuron does one small thing: it adds up its inputs with weights, adds a bias, and squashes the result. Stack a few columns of them and the network can bend a straight line into a circle or a spiral. Training is the chain rule run backward, telling every weight which way to move.
See its weighted sum , its activation , and its share of the blame for the ringed data point. Tap a data point to change which one.
Thicker edges are bigger weights; gold pushes up, blue pushes down. Each neuron is lit by its activation for the ringed point. While training, bright dots carry the signal forward and violet dots carry the gradient back, larger where that weight's gradient is larger.