Learning Rooms/□ Level 4 · Systems Engineer/Computing and algorithms
But what is a neural network? | Deep learning chapter 1
3Blue1Brown · 18 min 40 s · captions on YouTube · nothing loads until you press play
By the end you can…
- Describe a neural network as layers of weighted sums.
Watch it all: no segment has been checked by hand for this video yet.
1.Predict before you press play
A perceptron classifies points on a flat 2-D plot. What shape is the border between the region it labels 1 and the region it labels 0?
Pick one before you press play. A wrong guess is fine: it is what makes the video stick.
2.See the idea first
Play with this diagram for a minute. It gives you something to hang the video on.
Loading the interactive…
Can't use the diagram? Read a description instead
The perceptron diagram plots six points on a 0–5 grid: class 0 (circles) at (1, 1), (2, 1) and (1, 3); class 1 (squares) at (3, 4), (4, 2) and (4, 4). Weights start at zero. Each step shows one example; if it is misclassified the weights and bias change by η(t − y)x and the decision line moves. The readout gives the weights, the bias and how many points are misclassified; on this set it reaches zero. On the XOR set ((1, 1) and (4, 4) class 0; (1, 4) and (4, 1) class 1) at least one point is always wrong.
3.Watch, actively
What a neural network actually computes, drawn as layers of numbers.
18 min 40 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
Watch for…
- → Watch for each neuron as “weighted sum, add a bias, squash”: the same three steps a perceptron does, repeated across layers.
Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.
Can't stream it? Read the idea instead
A neural network is layers of numbers. Each neuron takes a weighted sum of the previous layer, adds a bias and passes the result through a simple function. Learning means adjusting all those weights and biases until the outputs match the training examples.
What the video covers (our own note, written when we verified it): What a neural network actually computes, drawn as layers of numbers.
Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.
Read it instead
- Lesson: The perceptron: one neuron draws one line · The full lesson explains the idea in text, worked examples and diagrams, with no video needed.
- Engineering Atlas: Embedded machine learning · A keyword detector in a smart speaker runs continuously on a tiny low-power chip because its model was shrunk to fit that budget.
- Field Guide: if, elif and else · A short reference entry on the same idea.
Jot down one thing that surprised you and one question you still have.
4.Practise what you just saw
These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.
Practice 1
A perceptron has w₁ = 1, w₂ = −2 and b = 3. What is z for the input (x₁, x₂) = (4, 1)?
Practice 2
You increase a perceptron's bias b and leave the weights alone. What happens to its decision line?
Practice 3 · a fresh version every time
A perceptron misclassifies an example. Its weight is w₁ = 0.7, the learning rate is η = 0.2, the input is x₁ = −4, the target is t = 0 and the perceptron output y = 1. Using w₁ ← w₁ + η(t − y)x₁, what is the new w₁? (2 decimal places)
Practice 4 · a fresh version every time
A perceptron has weights w₁ = 1 and w₂ = −5 and bias b = 0. For the input (x₁, x₂) = (4, 4), what is the weighted sum z = w₁x₁ + w₂x₂ + b?
5.Try it yourself
No simulation models this idea yet. The lesson below has an interactive diagram instead.
6.Where engineers use it
A microcontroller can run a perceptron on three accelerometer features with three multiplications, two additions and a comparison per reading: microseconds and a few bytes of weights. Many on-device “is the machine vibrating abnormally?” detectors start as exactly this before anyone reaches for a deep network.
From the applied view in the lesson The perceptron: one neuron draws one line. Checked by automated tests only.
7.Build something with it
Follow-up project
Find, by hand, weights and a bias that make a perceptron compute logical AND on inputs 0 and 1 (output 1 only for (1, 1)). Then do OR. Explain in two sentences why no choice works for XOR, and sketch how two perceptrons feeding a third could.
Count the weights in a 784–16–16–10 network.
Where this video lives
- The perceptron: one neuron draws one line · Level 5, week 23
In the course catalogue: AIP-520 Embedded machine learning
The video is by 3Blue1Brown, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.