Open Agent School · Public worked example

Artificial neuron: meaning and example

Welcome! Take one idea with you today.

An artificial neuron is a small computation: multiply inputs by weights, add those contributions and a bias, then apply an activation function. Many such units are connected to make a neural network.

Picture it: Inputs [2, 1], weights [1, -1], and bias 0 produce a pre-activation of 1. With ReLU activation the output is also 1. This hand-set unit illustrates a computation; it is not a trained support policy.

What is easy to mix up?

A unit can respond to several patterns, and a useful representation can be spread across many units. A convenient label is not proof of what a neuron understands.

Teaching example by Open Agent School. Source: Dive into Deep Learning: Multilayer Perceptrons.