Guides
Machine learning for kids, explained with a game
Machine learning is how a computer learns from examples instead of following rules someone wrote. You show it many labelled examples (training), it finds patterns, and then it guesses the label for something new (testing), sometimes wrongly.
The sorting game
- Cut out or draw 10 pictures of fruit: some apples, some bananas.
- Your child is the "computer". Show each picture and say its label. That's training.
- Ask what clues they used: colour, shape, size. Those are features.
- Now show a new fruit, like a green apple or a small banana. They guess. That's testing.
- Show a pear. There's no right label yet. Talk about what a machine does with something it never saw.
What the game teaches
- Training data: the computer only knows what it was shown.
- Features: it looks for clues, which may not be the clues people use.
- Mistakes: new or unusual examples are where it goes wrong.
- Bias: if all the apples in training were red, a green apple may confuse it.
Next steps
Older kids can try a free browser tool that trains an image model with a webcam, then test it on tricky examples. In Koda, the "How AI Thinks" world teaches the same ideas with drag-and-sort activities adapted to each age group.