Math & AI
AI Lab
Watch a neural network learn in 3D, then deploy it to a virtual Raspberry Pi.
Also on your phone · AI Lab
The course
9 worlds · 37 lessons

World 1 · Signals & Neurons
FREEWhat a neuron actually is
World 2 · Learning by Falling
PROHow a network actually learns
World 3 · Deeper Minds
PROWhen one line is not enough
World 4 · Raspberry Pi & GPIO
PROThe $4 computer you can build with- 01What is a Raspberry Pi?A whole computer on one board · 3 minPRO
- 02GPIO & your first blinkLight an LED with Python · 4 minPRO
- 03Inputs & PWMButtons, and dimming with PWM · 4 minPRO
- 04The GPIO headerForty pins, and the two numbers each one has · 4 minPRO
- 05Why the LED needs a resistor3.3 volts, and what a pin can actually give · 4 minPRO
- 06Sequences and timingLists, loops and a traffic light · 5 minPRO
- 07Reading a button properlyFloating pins, pull-downs and bounce · 5 minPRO
- 08Making soundThe buzzer, and beeping in patterns · 3 minPRO
- 09Keeping stateA variable that survives the loop · 4 minPRO
- 10When it breaksReading errors instead of guessing · 4 minPRO

World 5 · Make It Tiny
PROShrinking a model to fit
World 6 · Deploy to the Edge
PRORun it on a $4 chip
World 7 · Practice Lab
PROSix shapes a network can learn- 01Two Blobs — a straight lineWhen one line is enough · 3 minPRO
- 02XOR — why one line failsThe problem that needs a hidden layer · 4 minPRO
- 03Circles — a closed boundaryWrapping one class inside another · 4 minPRO
- 04Two Moons — a curved splitThreading between crescents · 3 minPRO
- 05ReLU vs tanhThe neuron changes the path · 4 minPRO
- 06The optimizer mattersAdam vs Momentum on the same spiral · 4 minPRO

World 8 · A landscape you can measure
PROTwo parameters, five observations, one exact loss surface
World 9 · From six features to a point cloud
PROPCA variance and t-SNE neighbourhoodsRead first
All guides →Guides for AI Lab
ExplainerLogic GatesLogic Gates Explained: AND, OR, NOT, XOR and NANDHow logic gates turn 1s and 0s into decisions, how to read truth tables, why NAND can build every other gate, and how De Morgan's laws connect them.
ExplainerAI LabWhat Is an Artificial Neuron? Weights, Bias, ActivationA single artificial neuron takes numbers in and gives one number out. See how weights, bias and activation work and how a neuron draws a decision line.