Minideas

Idea 2 of 15 · What AI is

Rules vs. learning

Normal software follows rules a person wrote. Machine learning works out the rules from examples.

RulesDataAnswersNormalprogram
1 / 4

Normal software: rules in, answers out

A programmer writes the rules. The computer applies them to data and gives answers, like a cook following a recipe.

walkingspeed < 4runningspeed < 12cyclingeven fastergolfno rule fits?
2 / 4

Rules work, until they don’t

Telling walking from running from cycling is easy with a speed rule. But what speed means golf? Some things are too messy to write rules for.

AnswersDataRulesMachinelearning
3 / 4

Machine learning flips it around

Give it lots of examples with the right answers attached. It works out the rules on its own.

WALKINGRUNNINGCYCLINGGOLFINGsensor readings + the right answer
4 / 4

Learning from labeled examples

Record a phone’s motion sensor while people walk, run, cycle and golf, and label each recording. The model finds the pattern for each one, golf included.

Swipe the card, or use the arrow keys.

Go deeper

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