How does AI learn? Teach a computer
Teach a pretend computer to tell cats from dogs using examples, test it, and discover why AI makes mistakes.
- AI literacy
- Computational thinking
- Critical thinking
🧰 You will need
- 2 × White paper
- 1 × Pencils and crayons
🤖 Computers aren’t born clever
How does a phone know your face, or an app tell what’s in a photo? Nobody writes the rules by hand. Instead, the computer is shown lots of examples and learns the patterns. This is called machine learning, a big part of AI.
🎮 Teach Robo
Robo can only “see” two things about an animal: how pointy its ears are and how big it is. Show it some examples, then test it on animals it has never seen.
1. Teach Robo: tap an animal to show it as an example.
2. Test Robo on animals it has never seen:
Teach it at least one cat and one dog first.
Robo colours its map: pink = "I think cat", blue = "I think dog".
🛠️ Try it for real (unplugged)
- Draw or cut out 12 pictures of animals (or use toy animals): some cats, some dogs, all different.
- Pick two features to measure, like ear shape and size. Give each animal a score from 1 to 5 for each.
- Draw a big grid on paper: ears along the bottom, size up the side. Place your training animals on it.
- Now take a new animal. Put it on the grid. Look at the closest animal: is it a cat or a dog? That’s your prediction!
- Were there any mistakes? Which animals fooled your “computer”? What extra example or feature would fix it?
💡 What happened?
You built a real machine-learning method called nearest neighbour: “a new thing is probably the same as the most similar thing I’ve seen before”. Robo was only as good as its examples. When it had never seen a big dog with pointy ears, it guessed wrong. Real AI works the same way: if it learns from examples that are missing some people, places or things, it can be unfair or wrong about them. That’s why people check AI carefully and keep improving the examples it learns from.
Did it work?
🖨️ Printables for this experiment
Lab journal page
Ages 9–12Worksheet
Question, prediction, method, results table and conclusion, for any experiment.