Codepiko · Grade 6 · BTY.6.5.1 (a, b, c, ç) · 40 min
What does the model learn from? Inspect the data
Gather information about AI inputs
Goal
Students choose where to find information about a model’s training data, read the inputs and labels in the table, check the data by finding faulty records and save what they found on a data card.
Before the lesson
- Open the “Data detective” experiment on the board and try its three steps once.
- Open the “How is a model trained?” lesson.
- Write three words on the board: input, label, data card.
Lesson flow
Attention5 min
How does an app know you?
Ask how a music or video app makes suggestions for you. Write the information the app looks at under the word “input” on the board.
Lesson process8 min
How is a model trained?
Read the “How is a model trained?” lesson together on the board. Draw the guess, error and correction cycle from the main idea on the board and stress that the model learns only from the examples it is given.
- AI lesson · How is a model trained? codepiko.com/en/ai-lab#ders-train-ai
Lesson process17 min
Data detective
Pairs work through the “Data detective”. In step 1 they choose where to find the information and answer the questions; in step 2 they flag the wrong label, the duplicate record and the empty cell; in step 3 they compare the accuracy of dirty and clean data and save the data card.
- AI experiment · Data detective codepiko.com/en/ai-lab/veri-dedektifi
Assessment10 min
Read the data card
Read two groups’ data cards on the board and ask: Which problem misled the model? What does a data card tell someone who uses the model? Each student writes one sentence in their notebook: “Before I trust a model’s data, I look at …”
Exit questions
- What were the banana model’s inputs, and what was its label?
- How can a duplicate record or an empty cell affect the model?
- What information is written on the data card?
Without computers
In the “When data is missing” part of the Paper model activity, students see how one missing or wrong example changes the rule.
- Unplugged activity · Paper model codepiko.com/en/unplugged/5
For next lesson
Students list three things an app they use at home might take as input.
Codepiko · lesson plan · codepiko.com/en/teacher/plans/veri-girdisi