It starts by guessing

A new network’s connections are random, so its first answers are mostly wrong.

Every connection has a weight

Signals flow through the layers. Strong weights pass them on.

Measure the mistake, adjust the weights

The error is traced back, and every weight moves a little to shrink it.

Repeat, thousands of times

With every example the answers improve, until the weights capture the pattern.

How a neural network learns