Learning goal
I can predict when a written rule and a learned pattern will give different results.
How it works
A rule-based sorter uses instructions someone writes. A model that learns from examples uses the patterns it finds in those examples. Both can sort a badge correctly. To see the difference, give them a badge where two clues disagree.
Think of it like this
Imagine sorting library returns. A librarian can tell you “stickered books go on the cart”. You could also guess from books you watched someone sort. You can ask the librarian about a surprising book. A model uses the examples and method its designers gave it.
Worked example
At Ember Fair, the written rule says moon badges go to Night Club. The model learned from a blue moon and a yellow sun. If it picked colour as its clue, it will send a yellow moon to Day Club. The written rule sends that same badge to Night Club because of the moon. The disagreement reveals which clue each system used.
What to remember
To tell a rule from a prediction, look at where its instructions or clues came from.
- Rule sorterIf a badge shows a moon, send it to Night Club.
- Learned sorterTraining badges link blue with Night Club.
- New badgeA yellow moon separates the two approaches.
Key words
- Fixed rule
- An instruction people write in advance. For example, if a card has a star, put it in the star tray.
- Prediction
- A guess based on information, such as guessing how many people will visit a booth next week.
- Model
- A computer-made representation of patterns. A model can use those patterns to make a prediction or generate something.
Activity
Test both badge sorters
Materials Paper and a pencil, or a partner to keep track of results.
- Draw a blue moon badge and label it Night Club. Draw a yellow sun and label it Day Club.
- Write the rule “Moons go to Night Club. All others go to Day Club.” Give the learned sorter the colour clue from its two examples.
- Draw a yellow moon and a blue sun. Record two results for each badge, one per sorter. Mark where the results disagree.
Talk it through Which new badge would show a model that colour is a weak clue? Either of the two new badges breaks it.
Quick check
Answer and explanation
The written moon rule. A fixed instruction decides the result each time.
Answer and explanation
Yellow was linked with Day Club in training. The examples linked colour and club, even though the club’s purpose could make the shape more useful.