03
Neural networks

How Machines Learn

A neural network is arithmetic stacked very high. Learning means nudging its numbers until the mistakes shrink.

Neuron

Multiply, add, activate

Each input times a weight, summed, plus a bias, passed through an activation function.

Loss

A score for "how wrong"

Training measures error on every example and tries to drive it down.

Gradient descent

Walk downhill

Calculus gives the slope for every weight; take a small step the right way, repeat billions of times.