← Back to course
5/6
Week 05 Β· Rules or Learning?

Friday

Rules and patterns in daily life
// Hand-written rules versus patterns found in data
⏱ about 20 min

Friday: Rules and Patterns in Daily Life

Rocket is teaching his young neighbor to sort recycling at the station. First he reads the rules from the sign.

The neighbor still mixes up foil and plastic. So Rocket shows her twenty labeled examples instead.

Raven watches. "You switched from rules to examples halfway through."

"People learn both ways," Nova says. "But I should be honest about one thing."

"I am a story character. A real AI is a tool people build. It finds patterns, but it does not think the way you do."

Rocket nods and holds up another example.

People learn both ways too

People often learn from rules, like "look both ways before you cross."

People also learn from examples, like recognizing a friend's handwriting.

Computers can follow rules or find patterns in data. But AI does not think the way a person does, and it can be wrong.

RULE OR EXAMPLE?
  • Read the question.
  • Tap your answer.
A coach says, "Keep your elbow up when you throw." Rule or example?
You learn a new song by hearing it ten times. Rule or example?
A sorter finds that size 4 splits stars from planets by counting labeled cards. Rule or learning?
Week reviewTrue or false?
Machine learning is a kind of statistical inference.?
Hand-written rules are easy to trace and explain.?
Learning from data needs only a handful of examples.?
A real AI thinks and feels like a person.?
To compare methods fairly, test them on the same cards.?
WHY THIS EXERCISEThese are the big ideas of the week.
HOW THE CREW BUILT VERSION 2
  • Tap a card.
  • Then tap its spot.
1First
2Second
3Third
4Last
Machine learning finds ____ in data.
Training data is usually supplied by ____.
The learned cut-off for planets was size ____.

Next week the crew does it properly: a big labeled training set, and a separate test set held back.

What do we call the labeled examples a learning system finds patterns in? Type the first word.
WHY THIS EXERCISETraining data is where every learned pattern comes from.

Wonderful week, explorer! Tomorrow your family finds a cut-off from data.

← Thursday