How good is it? Evaluating and refining
“Ninety-five per cent!” On the photos it studied. On twenty it had never seen: thirteen right.
- Test on photos the model never saw
- Find what the mistakes have in common
- Change one thing, and test again
How good is it? Evaluating and refining
“Ninety-five per cent!” On the photos it studied. On twenty it had never seen: thirteen right.
- Test on photos the model never saw
- Find what the mistakes have in common
- Change one thing, and test again
Story
Rahat announces.
She opens the folder nobody has touched: test, twenty photos, the answers written down a week ago and not looked at since.
writing the two mistakes down.
Learn it
Stage 4 is evaluation and refinement. Evaluation means one honest thing: run the model on the test set it has never seen, and count how many it gets right. But the number is only the start. The mistakes tell you what to fix, and refining means changing one thing at a time and testing again, so you know what helped.
Words to know
checking a model on test data it has never seen.
correct answers ÷ total answers × 100.
scoring high on the training data but low on new data. The model learned the examples, not the pattern.
a wrong answer given with high confidence. It is the most dangerous kind of mistake.
improving a model. CBSE's four ways, in order to try: add more data · remove incorrect data · change the settings · retrain.
Step by step: evaluating a leaf model
- Test it: 20 test photos it never saw. It gets 14 right.
- Accuracy: 14 ÷ 20 × 100 = 70%. (On its training photos it scored 96%: the gap shows it partly memorised.)
- Read the mistakes: put the 6 wrong photos side by side. 5 of them are wet leaves after rain.
- One change: add 15 more photos of wet leaves to training. Change nothing else.
- Retrain and test the same 20: now 17 right = 85%. The change worked, and you know which change it was.
Why only one change? Change three things at once and the score moves, but you will never know which one helped, or whether one of them made things worse.
🕌 From our heritage
Al-Battānī (c. 858–929) inherited Ptolemy's astronomical tables, which had been trusted for seven hundred years. He did not simply copy them: he checked their predictions against his own observations of the sky, and corrected the values he found to be wrong — including showing that the Sun's apogee, which Ptolemy had declared fixed, had in fact moved since Ptolemy's time. Testing an inherited answer against fresh evidence, and refining it, is the stage you are working in today.
Source: al-Battānī, al-Zīj al-Ṣābiʾ (early 10th century).
Careful: a model that scores worse after your change is not a failure of yours. You measured honestly and learned that the change did not help, which is the skill. And refining starts with the data; changing the settings is the last of CBSE's fixes, not the first.
Your missions
waste/test/ · answers.ods · model-scores.odsTest it honestly
10 minin pairs- 1
Predict: will the test score be higher or lower than the training score? By how much?
Only you can see this - 2
Upload each of the twenty test photos. Record: Photo · Model's answer · Confidence.
- 3
Only now open
answers.odsand fill True label. In Right?:=IF(B2=C2;1;0), fill down. Accuracy:=SUM(E2:E21)/20*100.
Read the mistakes
8 min- 4
Filter to Right? = 0. What do the wrong ones have in common — food-stained paper? shine? shade?
- 5
Look at the confidence on the wrong ones. Confidently wrong is the dangerous kind.
One change only
6 min- 6
Choose one fix: add more data · remove incorrect data · change the settings · retrain. Make it, retrain, and test the same twenty. Up, down, or the same? Even worse is a real result.
No laptop today?
Use the Lesson 1.3 picture cards: the volunteer sorts twenty new cards, the class works out the percentage, then lays the wrong cards in a row — what do they share? — and tests again after five more examples.
Debate it
The waste model is 90% accurate. Then you look at the mistakes: it is right about every wrapper and peel, and wrong about almost every hazardous item — batteries, a broken bulb, a medicine strip.
- Is 90% a fair description of this model?
- Which mistake costs more: calling a peel dry, or calling a battery dry?
- What would you change first, and what would you measure to know whether it worked?
Check yourself · practice, not a test
In the app, students answer these one at a time and each answer is checked straight away. It's practice, never a mark — anything they miss comes back later for another go.
1.Accuracy is calculated as:
- ATotal answers ÷ correct answers
- BCorrect answers ÷ total answers × 100
- CConfidence score × 100
- DThe number of training photos
2.A model that scores 95% on its training photos is proven to work well.
TrueFalse3.CBSE's ways to refine a model include: (choose all that apply)
- AAdd more data
- BRemove incorrect data
- CDelete the test set
- DChange the settings and retrain
4.The data kept back before training, used to check the model afterwards, is called the ______ dataset.
5.Why should you change only one thing before retraining?
- AIt is faster
- BThe tool allows only one change
- CSo you know which change caused the difference
- DTo keep the accuracy high
Test on what it has never seen. Then read the mistakes, and change one thing.
Typing practice
Skill: the number row and the % sign (6 min)
- On typing.com, open the numbers and symbols lessons. Reach for the number row without moving your wrists.
- Then type this line five times, exactly:
13 of 20 correct = 65% accuracy - Term 1 goal: 28–32 WPM at 93% accuracy. You will be typing numbers all lesson.
Written and designed by Faizan Ayoub. © 2026 Faizan Ayoub. All rights reserved.