Skip to content
S3U
Login Create Account

Science / AI literacy / Grade 8 / sj890

Test a Predictor on Unseen Examples

Calculate a result, inspect mistakes and explain what a small test cannot prove.

All worksheets

Watch the lesson

5 questions0m 0s

Learn first

Percent means out of one hundred

A percent compares an amount with one hundred equal parts. The % symbol means percent. A change amount is different from the final amount after the change.

How to work it out To find p% of an amount, multiply by p/100. For a percent increase, add the increase to the original only if the question asks for the new total.

A separate example In a separate example, 15% of 60 is 0.15 × 60 = 9. An increase of 9 would make a new total of 69.

A model’s predictions need checking

A model uses patterns to make predictions. Training data help fit it. Validation data guide choices. A reserved test set checks a chosen version on examples not used to choose it.

How to work it out Keep the sets and error types separate. Accuracy is correct predictions divided by all tested predictions; it is not a guarantee for every group or future case.

A separate example In a separate ten-card test, count all correct predictions before calculating the fraction. Changing the model after viewing test answers changes what that test can establish.

Learn the skill

Training examples help fit a model. Separate validation examples can guide revisions. A final test set should stay out of that process until evaluation. Accuracy is correct predictions divided by all predictions. It summarizes this test, not every future situation.

Worked example

A paper predictor gets 9 of 12 new examples right. Its accuracy on those examples is 9 / 12 x 100 = 75%. If we repeatedly tune it using the final test answers, those answers are no longer an independent final check.

Eight healthy and six damaged leaves are correctly predicted. Four damaged leaves are missed, and two healthy leaves are wrongly flagged.
Accuracy: 14 / 20 = 70%. This summarizes only this test.

Synthetic Leaf Test

On 20 unseen invented leaf cards, the model correctly labels 8 healthy and 6 damaged leaves. It wrongly calls 4 damaged leaves healthy and 2 healthy leaves damaged. The counts describe only these cards, not actual crop safety. No learner photos, names or uploaded work are used.

Question 1 How many predictions are correct?
Question 2 What is accuracy on these 20 cards, as a whole percent?
Question 3 How many damaged leaves were incorrectly called healthy?
Question 4 Which approach preserves an independent final test?
Question 5 What can this result establish?