Skip to content

Lesson 1 of 4

Free preview

From a neuron to a network

Weighted sums, activation functions and layers.

14 min 3-question quiz 3 guides to read next

A single artificial neuron does something very simple: it multiplies each input by a weight, adds them up with a bias, and passes the result through an activation function.

output = activation(w1·x1 + w2·x2 + … + b)

On its own that is barely more than a linear model. The power comes from stacking many neurons into layers:

  • The input layer takes the features — say, the eleven chemical measurements of a wine.
  • One or more hidden layers each transform the output of the layer before.
  • The output layer produces the prediction: one number for regression, or one score per class for classification.

Why activation functions matter

Without a non-linear activation, any stack of layers collapses into a single linear function. The most common choice today, ReLU, simply replaces negative values with zero: max(0, x). That small bend, repeated across thousands of neurons, lets a network approximate very complicated relationships.

"Deep" learning just means networks with many layers. Early layers tend to learn simple patterns (edges in an image, common word pairs), and later layers combine them into more abstract ones (faces, meanings).

Check your understanding

3 questions · pass with 2 correct

1. What does a single neuron compute?
2. Why are non-linear activation functions needed?
3. What does 'deep' mean in deep learning?

You'll see your score; enrol to have it count towards your certificate.

Enrol for free to save your progress, unlock every lesson and earn a certificate.

Sign in to enrol

Further reading

Guides that go deeper on this lesson.

  • What Is a Neural Network?

    Neurons, layers, weights and activation functions: the building blocks of deep learning, explained simply.

    2 min read

  • Activation Functions

    What activation functions do in neural networks, and the strengths of ReLU, sigmoid, tanh, GELU and softmax.

    1 min read

  • Convolutional Neural Networks

    How CNNs recognise patterns in images using filters and pooling, and why pretrained CNNs are so widely reused.

    2 min read