How a Machine Learns — A 7-Day Sprint on Neural Networks
Grant Sanderson's first deep learning chapter builds the core machine of modern AI in plain sight: neurons, layers, weights, biases, and the tuning called learning. This sprint takes one part per day — each with a reflection, a small hands-on action, and links deeper into Voice Up's AI foundations.
Day 1 — The Digit Your Brain Reads for Free
The chapter opens with a handwritten 3. You read it instantly; a computer program, told only rules, fails at it. Sanderson's point: some tasks are easy for brains and hard for rules — and that gap is why we let machines learn from examples instead of instructions.
Reflect
What is something you recognize instantly that would be almost impossible to explain as a list of rules?
Do
Write a sloppy handwritten digit and look at it closely. List everything your eye uses to decide what it is — then notice how much of it you cannot turn into rules.
Day 2 — A Neuron Is a Number
A neuron, in this machine, is just a number between 0 and 1: how strongly it fires. The input layer holds 784 neurons — one for each pixel in a 28-by-28 image — each holding that pixel's brightness. Everything the network will ever know starts as numbers like these.
Reflect
Why does it matter that the machine's smallest unit is something as simple as a number?
Do
Explain the neuron to an imaginary ten-year-old in three sentences or fewer, out loud. Simpler is the assignment.
Day 3 — Why Layers?
Sanderson hopes the middle layers will specialize: one spots edges, the next assembles edges into loops and strokes, the next weighs in on whole digits. Whether or not a trained network divides the work exactly that way, the design idea is the lesson: hard problems get solved in layers of easier ones.
Reflect
Where else in your life does a hard task get solved in layers of easier ones?
Do
Take one task you find hard and write its three layers: the smallest pieces, the combinations, the final judgment. Keep it on one page.
Day 4 — Weights, Biases, and Thirteen Thousand Knobs
Every connection between neurons carries a weight — how much one neuron's firing should move the next — and every neuron carries a bias, its threshold for firing at all. Count them in this modest network and you pass thirteen thousand. The machine's knowledge is nothing more, and nothing less, than the setting of those knobs.
Reflect
If intelligence here is a setting of knobs, what sets yours — and who gets a say in adjusting them?
Do
Draw the small network from the chapter (784 in, two layers of 16, 10 out). Do not count exactly; estimate, then check the chapter's count and note how far off your estimate was.
Day 5 — What Learning Actually Is
Near the end, Sanderson reframes the whole machine: learning means adjusting the weights and biases, over many examples, until the outputs get better. The network is not programmed with digit rules. It is tuned, the way an ear is tuned by practice, until recognition emerges from the settings.
Reflect
What is something you learned by tuning — many small corrections — rather than by being told the rule?
Do
Pick one skill of yours and write its training log honestly: the examples, the corrections, the slow improvement. Notice the parallel to the machine.
Day 6 — The Math Underneath, Without Fear
The chapter closes with the compressed language of the machine: vectors, matrices, weighted sums — and a note on activation functions, sigmoid versus ReLU. The notation is bookkeeping, not magic. It exists so thousands of small calculations can be written in one line and run at machine speed.
Reflect
Which part of the notation still feels like a wall — and is it the idea, or just the symbols?
Do
Write out one weighted sum by hand for a three-neuron toy example: three inputs, three weights, one bias. Get one number out. You have just run a neuron.
Day 7 — Teach It Back
The series recap does the honest thing: it shows the machine whole again, now that every part has a name. That is the test of this week, too. A neural network is layers of numbers, connected by weights, tuned by examples — and if you can say it plainly, you understand it.
Reflect
In one paragraph, with no jargon you cannot define: what is a neural network?
Do
Write that paragraph and teach it to one real person today. Note the question they ask you — that question is where your own understanding is thinnest, and it sets your next week's study.