New
New
Year 9

Documenting and evaluating a machine learning model

I can create a model card to document a machine learning model.

New
New
Year 9

Documenting and evaluating a machine learning model

I can create a model card to document a machine learning model.

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

These resources were created for remote use during the pandemic and are not designed for classroom teaching.

Lesson details

Key learning points

  1. It is important to evaluate a machine learning model’s accuracy. A confusion matrix can be used to visualise this.
  2. Reporting a model’s accuracy improves accountability so we can be more open about mistakes and issues.
  3. A model card provides more information, improving accountability and demonstrates responsible practice.

Keywords

  • Accuracy - how many times a model makes a correct prediction

  • Accountability - taking responsibility for how a model behaves and being honest about its performance, limitations and potential impact on others

  • Model card - a short report on how a machine learning model works, how well the model performs and what people should know before using the model

Common misconception

Users of a machine learning application do not need to be aware of how accurate it is.

Model cards are good practice when developing machine learning applications. A model card is a short report on how a machine learning model works, how well the model performs and what people should know before using the model.


To help you plan your year 9 computing lesson on: Documenting and evaluating a machine learning model, download all teaching resources for free and adapt to suit your pupils' needs...

The model card pupils create in this lesson could be used as an assessment piece for this unit.
Teacher tip

Equipment

Pupils will need micro:bits for this lesson and access to a device that can access CreateAI online.

Licence

This content is © Oak National Academy Limited (2025), licensed on Open Government Licence version 3.0 except where otherwise stated. See Oak's terms & conditions (Collection 2).

Lesson video

Loading...

6 Questions

Q1.
What is a recognition point in a machine learning model?
the number of times a model has been trained
Correct answer: the level of certainty required for an input to match a class
a checkpoint where a program is saved
the speed at which a machine learning model processes data
Q2.
What is the default recognition point in CreateAI?
50%
70%
Correct answer: 80%
90%
Q3.
Why might sound not always be the best feedback method?
some users may be hearing-impaired
it might be too quiet to hear in a noisy environment
it could be distracting
Correct answer: all of the above
Q4.
What does the program flow refer to?
the speed at which the program runs
the layout of the program's code
Correct answer: the order in which a program executes instructions
Q5.
blocks can be used in MakeCode to program machine learning applications on a micro:bit.
Correct Answer: Machine learning
Q6.
A certainty value in machine learning is expressed as a .
Correct Answer: percentage, %

6 Questions

Q1.
What is a model card in machine learning?
a code file that trains a machine learning model
Correct answer: a short report explaining how a model works and performs
a physical card used to control a robot
a method for increasing model accuracy
Q2.
A model card helps users understand a machine learning model’s purpose, accuracy and .
Correct answer: limitations
benefits
instructions
Q3.
A confusion matrix visually represents how a model’s compare to actual values.
Correct Answer: predictions
Q4.
Why is accountability important in machine learning?
It ensures models are 100% accurate.
It allows programmers to avoid responsibility for errors.
Correct answer: It helps developers be open about the model's limitations and mistakes.
Q5.
If a model correctly classifies 27 out of 30 test examples, what is its accuracy?
Correct Answer: 90%, 90
Q6.
Match the term to the description.
Correct Answer:accuracy,how often a model makes correct predictions

how often a model makes correct predictions

Correct Answer:confusion matrix,a table showing correct and incorrect classifications

a table showing correct and incorrect classifications

Correct Answer:accountability,taking responsibility for a model's performance and fairness

taking responsibility for a model's performance and fairness

Correct Answer:model card,a document explaining a model’s purpose, accuracy and limitations

a document explaining a model’s purpose, accuracy and limitations

Additional material

Download additional material