Minideas

Idea 6 of 15 · How machines learn

Neural networks

Layers of tiny calculators that pass numbers forward and discover useful in-between ideas.

numbers flow this way
1 / 5

Layers of tiny calculators

Each circle takes in numbers, gives each one a weight for how much it matters, and passes a single number on.

inputhidden layersoutput
2 / 5

Input, hidden, output

The input layer takes the raw facts, hidden layers work on them, and the output layer gives the answer. “Deep” just means many hidden layers.

priceshippingmarketingmaterialaffordable?well known?good quality?82%best-seller?4 facts3 ideas1 answer
3 / 5

Example: will this T-shirt sell?

Four facts go in. The middle layer turns them into ideas like “is it affordable?” and “do people know about it?”. The output is the chance it becomes a best-seller.

priceshippingmarketingmaterial????best-seller?4 facts3 ideas1 answer
4 / 5

Nobody names the middle ideas

We never tell the network to think about affordability. During training it finds whatever in-between ideas help it guess right. That’s where its power comes from.

62%guess100%right answernudge every weight a littleguess, check, nudge, repeat
5 / 5

How it learns: guess, check, nudge

It’s the same trick as the line through the house dots. The network guesses, measures how far off it was, and nudges every weight a little to do better next time. Big networks have billions of weights, which is why training takes so much data and computing power.

Swipe the card, or use the arrow keys.

Go deeper

Each card stack gives you the idea. These open resources go into the detail.