Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

DA 3.3: AI and learning from labelled examples

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

60 minutes

Teach it with examples

A made-up soup stall wants to know if it will sell out. The owner has eight past days. For each she wrote the temperature, the rain and whether the soup sold out.

She does not want to write rules. She wants the computer to look at the old days and work out the rule itself. That idea is machine learning (a computer finds the rule from examples).

Key words

WordWhat it meansExample
Artificial intelligenceComputer systems that do tasks which normally need human thinking.Spotting spam email
Machine learningA part of AI where a computer finds the rule from examples.Learning when soup sells out
Supervised learningMachine learning from examples that already have the right answer.Past days marked yes or no
FeatureA fact about each example that the computer may use.Temperature
LabelThe right answer attached to an example.Sold out: yes
Training dataThe examples the computer learns from.The eight past days
Test dataExamples kept back to check the learning on days it has not seen.Four more days
BiasA pattern in the data or a method that treats something unfairly or leans one way.Only cold days in the examples

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can say how AI and machine learning differ, explain supervised learning, and check a simple learner on new examples.

Starter: what you already know

Have a go

Starter: what you already know

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

AI is the big idea, ML a part

Artificial intelligence (AI) is any computer system doing a task that normally needs human thinking. A chess program is AI. So is a voice helper.

Machine learning is the part of AI where the system learns from data instead of being given every rule. Most of the AI in the news today uses it.

Check: AI or machine learning?

Have a go

Check: AI or machine learning?

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

10 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.