Curriculum map / Year 5: Data, Training and Fairness
Year 5, Lesson 2
Train the sorter
AI is trained on one set of data and tested on another.
Preparing to teach
- Lesson
- Lesson 2 of 6 in Year 5: Data, Training and Fairness
- Time
- 60 minutes, with a 45 minute version in the plan
- Pupils learn
- I can explain the difference between training data and test data.
- I can write a sorting rule from examples and test it fairly.
- I can work out accuracy and use it to decide how far to trust a model.
- You need
- Printed training and test card sets (slides 15 to 18), envelopes, optional apples and pears
- Preparation
- About 15 minutes, plus the plan's Teacher subject knowledge.
What to prepare
Print slides 15 and 16 (training and test cards), one set per team of four, and cut them out. Put each team's test cards in an envelope. Print slide 17 (rule and accuracy cards) and slide 18 (results sheet), one per team. Optional: four red apples, four green pears, one green apple and one red pear (or pictures) for the worked example on slide 7.
- Pupil devices
- None needed
- Demonstration
- None
- Prior learning
- Builds on earlier lessons in this unit. Before teaching this lesson
Before teaching this lesson
Pupils should already understand
- Machine learning finds its own patterns in labelled examples and makes a model that guesses.
Routines it uses: IDEAL moments, the AI Loop, Bleep.
Where this was taught
- This unit Year 5 Lesson 1: Rules or examples? (slides 5 to 7)
Remember When (slide 2) recalls Year 1 Lesson 2, Year 2 Lesson 2, Year 5 Lesson 1. These are retrieval questions: if your class has not had those lessons, swap them for a question about pupils' own experience. That does not replace any prerequisite above.
If your pupils haven't covered this
Check first: Remember When questions 1 and 2 (slide 2) test this. If most pupils answer well, carry on. If not: Retrieve or introduce: show Year 5 Lesson 1 slides 6 and 7 and say a model learns patterns from labelled examples (3 minutes).
What this lesson adds
Pupils learn that only unseen test data shows what a model really learned, measured as accuracy.
The signature activity
Zorbs and Glims: teams play the model, writing rules from labelled creature cards, test them on unseen cards and score their accuracy out of ten.
The slides
Teacher notes and answers are in the lesson plan, and printable resources are at the end of the deck.
What to look for
Exit ticket: 1. What is the difference between training data and test data? 2. A model gets 7 out of 10 test cards right. What is its accuracy? 3. Why should we never test a model only on its training data?
Look for pupils who explain a high training score and a low test score by naming the accidental feature, and who ask for test results before trusting a claim.
This evidence feeds the tracker for How AI works; Staying in charge, and the unit ends with the IDEAL Challenge. Answers are in the plan.