One neuron, one weighted decision

A neuron combines inputs with learned weights, adds a bias, and applies an activation function.

The idea

Several clues each get a different importance. Add their weighted effects, include a baseline, then pass the result through a response rule.

For a neuron, z = w·x + b and a = φ(z). A multilayer network composes many such transformations, and backpropagation supplies gradients used to update parameters.

How it works

  1. Compute weighted sums plus bias.
  2. Apply an activation function.
  3. Propagate activations forward to produce a prediction and loss.
  4. Backpropagate gradients and update parameters with an optimizer.

One dense neuron

z is the affine pre-activation; φ is a nonlinear activation such as ReLU, tanh, or sigmoid depending on architecture and purpose.

z = w·x + b, a = φ(z)

Check your understanding

What is learned during neural-network training?

Answer and explanation

Training updates parameters such as weights and biases using gradients from the loss.

A common misconception

A neuron is not independently interpretable as one human concept. Hidden units are learned numerical features whose meaning can be distributed across the network.

Open Neural Network lab

Deep Learning

Build intuition for weighted neurons, shared filters, recurrent state, and self-attention before opening the full labs.

  1. One neuron, one weighted decision
  2. Reuse a small filter across an image
  3. Carry state through a sequence
  4. Let tokens build context from one another