Museum of AI · For schools
English

Original educational resource by the Museum of AI

Lesson plan · AI Creator

How does a machine learn from examples?

Note: Original Museum of AI materials linked editorially to the Computing curriculum in England. These are not official DfE publications or approved teaching materials.

Accessible, printable webpages; ready-made PDF files are also available.

Age9–12
Duration45–60 minutes
SubjectComputing · digital literacy · critical thinking
SettingClassroom or computer lab · groups of 2–4

Intended learning outcomes

  1. Identify how changing an incorrect training label can alter the prediction of a simple classifier.
  2. Explain why next-word probabilities do not amount to certain knowledge.
  3. Distinguish uniform decision rules from evidence of fairness.
  4. Produce a short exhibit label stating an observation, evidence and uncertainty.

Links to England’s curriculum

These activities can support the Computing curriculum through computational thinking, evaluating information, data and responsible use of technology.

Key Stage 2 / transition to Key Stage 3

  • Gear factory: Use examples to explain rules, test a system and identify why a change in data alters results.
  • Probability rain: Recognise that a generated word is a probabilistic prediction; discuss reliability.
  • Rules council: Explain a design choice and evaluate whether different groups are treated fairly.

Adapt activity length and assessment to the class; this is a museum activity, not a complete scheme of work.

England · Key Stage 2: explain, test, improve

Computing focus: understand algorithms and use logical reasoning to find and correct errors. This is a museum classroom task, not a statutory assessment.

England · Key Stage 2: explain, test, improve

Key Stage 2 computing: introduce a test case, let pupils debug one incorrect label and compare before/after outcomes. Assess whether they can describe an algorithmic decision and justify a further test, rather than merely producing the right answer.

  1. Debug the training rule · In Gear Factory, change one incorrect training label. Write the model’s prediction before and after. Explain which example you would check next to see whether the improvement is reliable.
  2. Separate a prediction from an explanation · In Probability Rain, identify two possible next words. Make a simple flow diagram: input → options → chosen word. Which part of this process is a prediction rather than a fact?

Exit ticket: “I changed …; the result changed because …; I would test … next.”

Référence / Reference / Referencia / Bezug: Department for Education · Computing programmes of study (KS2)

Prior knowledge

Basic browser use. No coding experience required.

Teaching approach

Inquiry and collaborative learning, structured around engage, explore, explain, elaborate and evaluate (5E).

Lesson sequence

TimePhaseActivity and learning evidence
0–5′EngageAsk: “If a machine makes a mistake, what would we check first?” Discuss initial ideas.
5–12′Explore initial ideasGroups predict what happens when one training label changes.
12–22′ExploreGear factory: run a test, find the incorrect label, fix it and test again.
22–32′ExplainProbability rain: predict the next word and compare two samples at the same temperature.
32–42′ElaborateRules council: adjust fictional decision thresholds and explain the consequences.
42–53′CreateWrite a museum label with a title, observation, evidence and an unanswered question.
53–60′EvaluateTwo-sentence exit ticket and discussion. Souvenir passport optional.

Activities: direct links and QR codes

Each code opens the matching game section in this museum programme.

QR: 1. Gear factory
1. Gear factory
Open the game ↗
QR: 2. Probability rain
2. Probability rain
Open the game ↗
QR: 3. Rules council
3. Rules council
Open the game ↗

Assessment and outcome

The teacher observes predictions, reasoning and evidence checks. The worksheet and exhibit label are learning evidence, not automated grading.

Differentiation

Support: whole-class projection, paired work or oral responses. Extension: repeat with changed inputs and compare outcomes. Printed work is possible without a device per learner.

Resources and safeguarding

Modern browser and internet to load the page; projector optional. The games use synthetic data and ask for no personal details. No account or external generative AI service is needed.

Student worksheet ↗

Curriculum and official guidance (England)

The activities are independently authored by the museum. Curriculum connections are suggested for classroom use, not a claim of official endorsement. Adapt activity length and assessment to the class; this is a museum activity, not a complete scheme of work.

  1. DfE · National curriculum in England: Computing (KS2–KS3)
  2. Teach Computing · Primary curriculum
  3. DfE · Understanding AI in education