Chapter 1
One artificial neuron
Multiply, add, squash: the tiny sum inside every neural network.
An artificial neuron is a tiny sum. It takes some numbers in (the inputs), multiplies each by its own weight, adds them up with one extra number called the bias, and passes the total through an activation function. That's it.
Here it judges mangoes. Input x₁ is how yellow the skin is, x₂ is how soft it feels. The total is z = w₁·x₁ + w₂·x₂ + b. A step activation says "ripe" (1) if z is above zero and "not ripe" (0) if not. A sigmoid gives a smooth score between 0 and 1. ReLU gives 0 for anything below zero and z itself above it.
On the board, every spot where z = 0 lies on one straight line. The weights tilt the line and the bias slides it. So one neuron can only split things with a straight cut.
The name comes from brain cells, which BrainClear and NervousClear show. But the likeness is loose: a real neuron is a living cell with thousands of connections, chemical signals and timing. This one is multiply, add, squash.
How does it find good weights? In 1958 Frank Rosenblatt's perceptron rule: show it one example; if its guess is wrong, nudge each weight by rate × error × input. Repeat. If one straight line can split the data, this is guaranteed to find one.


