Grade 7 · lesson 2 of 4

Count Correct Predictions on Held-Out Cases

Divide correct predictions by all evaluated cases when calculating this test-set accuracy.

About 18 minutes, plus any extended practice

Download the grade pack

Supplied materials

  • Paper and pencil; answers may also be spoken or typed.
  • All cases, labels, numbers and rules are supplied on this page. No real account, private information or purchase is needed.

Learn the idea

Held-out cases are kept separate from fitting a model. Comparing predictions with their supplied labels counts correct and incorrect results. The result describes this test set; it does not guarantee performance on new populations or future data. Keeping the denominator visible prevents inflated summaries.

Divide correct predictions by all evaluated cases when calculating this test-set accuracy. Do not discard wrong predictions from the denominator.

Use this supplied case: Held-out fictional test: 3 predictions correct out of 4. Accuracy percentage? The task is to connect the given information to the computing idea. Write a short evidence trail so another learner can reproduce your choice. The simplified case describes the stated model, not every real system.

  1. Represent the supplied worked case with a labeled drawing, table or short trace.
  2. Divide correct predictions by all evaluated cases when calculating this test-set accuracy.
  3. Explain why the worked answer fits and why one alternative does not.
  4. Try the new check and practice cases; revisit the stated rule if your evidence does not match.
Worked example

See the method in action

The held-out test has 3 correct predictions among 4 labeled cases. Divide 3 by 4 to get 0.75, then multiply by 100 to report 75%. All four cases stay in the denominator, including the incorrect prediction. The result describes this supplied test set rather than all future objects; removing the error would inflate the reported evidence. No real learner information or actual model training is needed.

Your turn

Check your reasoning

Your answer is temporary and is not saved to an account. Download your current answer before leaving or reloading. Written work on paper or in another app stays in your own file.

Helpful tips
  • Divide correct predictions by all evaluated cases when calculating this test-set accuracy.
  • Do not discard wrong predictions from the denominator.
Held-out fictional test: 4 predictions correct out of 5. Accuracy percentage?

Feedback appears here after you check. This is practice, not a graded school assessment.

See the answer and explanation

80%

Using the supplied inputs: ((100*4)/5) = 80.0. Divide correct predictions by all evaluated cases when calculating this test-set accuracy. Do not discard wrong predictions from the denominator.

Take it further

New held-out test:11 correct of 20 cases. Expected:55%accuracy for that set. Do not remove the nine incorrect cases from the denominator.

Nothing here is saved to an account or sent to a teacher. The answer download includes your current choice and any checked feedback. It does not include choices from the separate More practice section. Download that section separately.

More practice: try new cases

Choose an answer for each problem. Explain your method on paper, then use the feedback to decide what to revisit.

More practice: try new cases
1. Held-out fictional test: 6 predictions correct out of 8. Accuracy percentage?
Need a hint?
  • Divide correct predictions by all evaluated cases when calculating this test-set accuracy.
  • Do not discard wrong predictions from the denominator.
2. Held-out fictional test: 7 predictions correct out of 10. Accuracy percentage?
Need a hint?
  • Divide correct predictions by all evaluated cases when calculating this test-set accuracy.
  • Do not discard wrong predictions from the denominator.
3. Held-out fictional test: 8 predictions correct out of 10. Accuracy percentage?
Need a hint?
  • Divide correct predictions by all evaluated cases when calculating this test-set accuracy.
  • Do not discard wrong predictions from the denominator.

Your choices are temporary. Feedback appears after you check all the answers.

Nothing here is saved to an account or sent to a teacher. Keep your own notes or download them before leaving. The score describes these questions; it does not certify subject mastery.

Check the subject sources

These LifeStarter passages, scenarios and exercises are authored for this Academy with AI assistance and review. External resources keep their publishers’ terms. A grade label suggests a starting level; it does not establish alignment with your school’s complete requirements.