Open Agent School · Public worked example

ReLU: meaning and example

Welcome! Take one idea with you today.

ReLU, the rectified linear unit, returns zero for a negative input and returns the input itself for a positive input. This bend makes a network capable of more than one straight-line transformation.

Picture it: A synthetic detector combines two signals into a pre-activation score. Scores -2, 0, and 3 become 0, 0, and 3 after ReLU. These are internal signals, not percentages of certainty.

What is easy to mix up?

ReLU has no upper bound. An output of 3 is valid, so it is not a probability transformation.

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