Pro
Pro lesson

The artificial neuron

Build the tiny decision-maker that every neural network is made of.

This one’s part of How Models Learn Pro — every lesson, every interactive, and new ones as they land. About 9 minutes.

Already Pro? Sign in and you’ll go straight in.

Inside “The artificial neuron”

What you’ll learn

  1. Weigh up the evidence
  2. Bias and a decision
  3. Different ways to squash
  4. A neuron draws a line
  5. Let it find the weights
  6. What one neuron cannot do

Key terms

Neuron
The basic unit of a neural network: it weights its inputs, adds a bias and applies an activation function.
Weight
A number that sets how strongly, and in which direction, an input influences a neuron.
Bias
A number added to a neuron’s weighted sum that shifts how easily it fires.
Weighted sum
Each input multiplied by its weight, all added together. With the bias added on, it is often written z.
Activation function
The function a neuron applies to its weighted sum, such as sigmoid, tanh or ReLU.
ReLU
Rectified linear unit: outputs z when z is positive and 0 otherwise.
Linearly separable
Data that a single straight line (or flat plane) can split perfectly into its classes, like Adelie and Gentoo penguins by bill depth and flipper length.
XOR
“Exclusive or”: true when exactly one of two inputs is true. A classic pattern no single line can separate.

Sources