LESSON 5.C1 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
Activation functions side by side
Watch one small net train with seven activations, one row each.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 5.C1 · ACTIVATION BAYRELU · 13 WEIGHTS · 8 POINTS
01
Stage 1 of 6 · Seven activations
One MLP with 4 hidden units fits 8 points. Each row trains it with another activation.
Explain it simply
Each row is the same small network: one input, four hidden units and one output. It tries to fit eight teal points on a bowl-shaped curve. Only the activation changes, and the blue line shows how it bends a unit's input. The rows come from sigmoid and tanh, ReLU and Leaky ReLU, GELU and SiLU and SwiGLU.
Seven rows, one per activation: sigmoid, tanh, ReLU, Leaky ReLU, GELU, SiLU and SwiGLU. Each row draws its curve f of z.
points, zf(z), fitweights, biasslope, lossz ≤ 0 on all 8 inputsfollowed row
Toy: 5.05's 1-4-1 MLP · y = 1.5x² − 0.5 at 8 points · 500 steps · SwiGLU keeps a gate bias: 13 weights
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each unit bends its weighted input z with the activation f.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.