How can a computer tell a cat from a dog?
No two photos line up perfectly. A fixed rule would need to list every angle, light and pose.
LESSON 01 The first layer
A pile of small filters that pass a signal forward, one tiny decision at a time.
00 Overview / start here
When a photo, sound or sentence has too many details for a hand-written rule, a neural network breaks the job into small transformations and passes the signal forward.
No two photos line up perfectly. A fixed rule would need to list every angle, light and pose.
A neural network is a chain of simple mathematical transformations. Each layer combines incoming signals, keeps what seems useful, and hands a new signal to the next.
A cat photo becomes pixel values. To the model, every image starts as a stream of numbers.
Learned weights give some signals more influence. Layers turn edges into shapes, then shapes into richer features.
The last layer combines the clues and returns likely answers, such as cat, fox or dog.
One dark-to-light change can activate an edge detector. Several edges can form a shape; combined shapes can support a cat guess. No single unit spots the whole animal.
01 See the anatomy
Do not picture a tiny brain. Picture a relay team: each layer notices something different and hands its signal to the next.
Choose what comes in, then let the network do its small, repetitive work. Click a neuron to inspect the question it is asking.
Every filter sees a small fragment. Together, the fragments make a pattern.
Each neuron asks one small question. Together, they spot a pattern.
02 Zoom into the filters
Early layers catch simple shapes. Later layers combine them into things that feel meaningful to us.
The network does not jump from pixels to “cat” in one step. It builds a useful guess from increasingly specific clues.
At the start, the signal is mostly edges: light against dark, line against background.
The “knowledge” is spread across connections. No single neuron knows the whole picture.
03 Build the architecture
A neural network is assembled as a path: one input boundary, a stack of hidden layers, then one output. Add depth and follow what each extra step can combine.
Choose an example, change the number of hidden layers, then click a column. The percentages are illustrative activation strength: how loudly each layer is responding to this signal.
Simulation note A real model has learned weights and many more units. This compact diagram keeps only the causal story visible: what enters, what a layer combines, and what leaves.
Depth is not magic. It is more small transformations in a row.
A neural network is best described as…
Pick one. The lab will tell you if the picture clicks.
FAQ Neural networks / quick answers
Three short answers to the questions people usually ask after the first experiment.
A neural network is a sequence of weighted mathematical transformations that turns input numbers into a prediction. Each layer combines signals and passes new values onward.
Training compares a prediction with an example, measures the error, and adjusts the weights so similar future predictions can improve. This lesson keeps the weights fixed so the forward path stays visible.
Hidden layers are intermediate workspaces. Early layers can combine simple features, while deeper layers can combine those features into more specific patterns; they are not a database of human-readable rules.