Lesson 4 of 1570
Neural Networks, Actually Explained
You have heard the term a thousand times. Now let's actually look inside: neurons, weights, activations, and what happens in a single pass.
Lesson map
What this lesson covers
Learning path
The main moves in order
- 1The Artificial Neuron
- 2neural network
- 3neurons
- 4weights
Concept cluster
Terms to connect while reading
Section 1
The Artificial Neuron
A neural network is built out of tiny units called neurons. Each neuron is simple. It takes in a few numbers, multiplies each by a weight, adds them up, and runs the total through a simple squishing function. That is it.
One neuron, step by step
- 1Receive inputs: x1, x2, x3
- 2Multiply by weights: w1·x1 + w2·x2 + w3·x3
- 3Add a bias number: total + b
- 4Pass through an activation function like ReLU or sigmoid
- 5Send the result to the next neuron
Stacking into layers
A layer is many neurons working at the same time, each with its own weights. Stack many layers in a row and you have a deep neural network. The output of one layer becomes the input to the next.
Three layers: input → hidden → hidden → output. @ means matrix multiplication.
# A tiny feed-forward network in pseudo-code
h1 = relu(W1 @ x + b1)
h2 = relu(W2 @ h1 + b2)
output = softmax(W3 @ h2 + b3)What gets learned
- The weights W and biases b in every layer
- Nothing else — the structure stays fixed during training
- A modern LLM has hundreds of billions of these numbers
Why deep beats shallow
Early layers pick up simple features like edges in images or letter patterns in text. Middle layers combine those into shapes or word parts. Late layers pull it all together into concepts like dog or sarcasm. Depth lets the model build up abstractions.
“The network's layers are a ladder from pixels to meaning.”
Key terms in this lesson
The big idea: a neural network is a huge stack of very simple math units, wired together in layers. Depth and scale turn that simplicity into something that can translate languages and write poetry.
End-of-lesson quiz
Check what stuck
15 questions · Score saves to your progress.
Tutor
Curious about “Neural Networks, Actually Explained”?
Ask anything about this lesson. I’ll answer using just what you’re reading — short, friendly, grounded.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Builders · 30 min
The Supervised Learning Loop
Most modern AI is trained on a loop of guess, check, and adjust. Understand the loop and you understand the heart of machine learning.
Builders · 30 min
Tokens and Embeddings: How AI Reads Words
AI does not read letters. It reads tokens, which live as vectors in a space of meaning. Learn how text becomes numbers you can do math on.
Builders · 30 min
Is the Model Reasoning or Pattern Matching?
The line between deep reasoning and clever pattern recognition is blurry. Here's how researchers try to tell them apart.
