AILevel 1 · AI ExplorerLesson 13

L1 · 13

The Three Ways Machines Learn

Not all learning is the same. Machines learn in three main ways — with an answer key, by spotting groups alone, or by trying and being rewarded.

⏱ 1.5 hours🤖 Concept lesson · no coding📚 After AI-L1-12💬 Discussion + worksheet
01

Learning Goals

5 min

By the end of this lesson you can:

  • Name the three main ways machines learn.
  • Give one everyday example of each.
  • Match a task to the learning type that best fits it.
02

Warm-Up · How Did You Learn?

8 min

Last lesson we learned that data must be good and fair. Now, how does learning actually happen?

Match how you learned each of these:

  • Times tables — with flashcards that show the answers.
  • Sorting your toys into groups nobody named for you.
  • Getting better at a video game by playing and chasing a high score.
Reveal the link

These are the three ways machines learn too: with answers, by finding groups, and by reward.

03

New Concept · Three Ways to Learn

18 min

1. Learning with answers (supervised)

We show the machine examples and the right labels — like flashcards with answers. This is what we've done so far: cat/dog photos, smile/frown sketches.

2. Finding groups alone (unsupervised)

We give the machine examples with no labels and ask it to find groups by itself. It might cluster shoppers into "snack buyers" and "drink buyers" without being told the groups.

3. Learning by reward (reinforcement)

The machine tries things, gets a reward for good moves and a penalty for bad ones, and improves over many tries — like levelling up in a game.

With answerslabelled examplesFinding groupsno labelsBy rewardtry + score
Three ways to learn — each fits different kinds of job.
Why it matters

Knowing the type helps you understand any AI: did it get answers, find groups, or learn by reward?

04

Worked Example · Which Way Did It Learn?

18 min

Let's match real AIs to their learning type.

AILearning typeWhy
Spam filterWith answersTrained on emails labelled "spam" or "not spam".
Grouping shoppers by habitFinding groupsNo labels — it discovers the groups itself.
Game boss that improvesBy rewardTries moves, scores wins, gets better.
Photo "is this a face?"With answersTrained on photos labelled face / not face.
The takeaway

Ask: were there labels (answers)? No labels but groups? Or trying for a reward? That tells you the type.

05

Try It Yourself

20 min

Use your worksheet.

01 🟢 Match the type

Label each "with answers", "finding groups", or "by reward": a robot learning to walk by trying; sorting songs into moods with no labels; predicting pass/fail from labelled past results.

Hint

Look for: answers given, groups discovered, or a reward for trying.

02 🟡 Your own examples

Write one example of each of the three types — they can be from real life, not just AI.

Hint

Flashcards = with answers. Tidying into your own groups = finding groups. Practising for a score = by reward.

06

Mini-Challenge · Pick the Right Way

12 min

For each task, decide which learning type fits best and say why.

  1. Teach a drone to land smoothly.
  2. Split 1,000 unlabelled customer reviews into natural groups.
  3. Tell ripe from unripe mangoes using labelled photos.

It works if each choice matches the clue: reward for trying, groups with no labels, or answers given.

Show the answers
  1. By reward — it learns smooth landing by trying and scoring.
  2. Finding groups — no labels, discover the clusters.
  3. With answers — labelled ripe/unripe photos.
07

Recap

5 min

Machines learn in three main ways: with answers (supervised), by finding groups (unsupervised), and by reward (reinforcement). The right way depends on the job and the data you have.

Vocabulary Card

supervised learning
Learning from examples that come with the right answers (labels).
unsupervised learning
Finding groups or patterns in data that has no labels.
reinforcement learning
Learning by trying actions and getting rewards or penalties.
08

Homework · Guess the Way

≤ 20 min

Pick two AIs you know. For each, guess which of the three ways it most likely learned, and write a one-line reason.