Choose exam board for KS4 Computer Science (GCSE)
Choose exam board for KS4 English
Choose exam board for KS4 French
Choose exam board for KS4 Geography
Choose exam board for KS4 German
Choose exam board for KS4 History
Choose tier for KS4 Maths
Choose exam board for KS4 Music
Choose exam board for KS4 Physical education (GCSE)
Choose exam board for KS4 Religious education (GCSE)
Choose exam board for KS4 Spanish

      Gathering data for a model

      Lesson details

      Learning outcome

      I can record and label movement data.

      Key learning points

      1. The first step in a data-driven approach to problem solving is to decide what data is needed.
      2. A data-driven application requires a large number of data samples.
      3. Samples are labelled to create classes and can be used to train a model, which represents something in the real world.

      Keywords

      • Sample - a single set of data used for training or testing

      • Class - a category or label given to samples

      • Model - a system that uses patterns in data to represent something in the real world and can be used to make predictions

      Common misconception

      The micro:bit understands movement like a human does.

      The micro:bit records numbers (x, y, z acceleration) that are then interpretted using programmed instructions.

      Teacher tip

      This lesson models the example of a tennis shot movement, but learner should be encouraged to come up with their own movements to record samples of that have more interest to them.

      Equipment

      Pupils will need access to a physical device to capture data and a means of creating a data-driven application. Examples in this lesson use micro:bits and CreateAI https://oak.link/createai

      Licence

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

      Lesson video

      Loading...

      Prior knowledge starter quiz

      6 Questions

      Q1.
      Match the system with its category.

      Correct Answer:rule-based,a chatbot that always gives the same response

      a chatbot that always gives the same response

      Correct Answer:data-driven,a smart thermostat that adjusts over time

      a smart thermostat that adjusts over time

      Q2.
      The phrase ‘I know!’ appears in the Quick Draw system when enough is provided for a high-confidence prediction.

      Correct Answer: data

      Q3.
      Which of the following best describes a data-driven system?

      It makes decisions based on pre-defined rules.
      Correct answer: It improves by adapting how it finds patterns in data.
      It does not require large amounts of data.
      It always produces perfect predictions.

      Q4.
      Match the AI-related term with its definition.

      Correct Answer:artificial intelligence,a system that processes data, finds patterns and adapts

      a system that processes data, finds patterns and adapts

      Correct Answer:data-driven approach,a method where decisions are made using patterns in large data sets

      a method where decisions are made using patterns in large data sets

      Correct Answer:rule-based system,a system that follows predefined instructions or conditions

      a system that follows predefined instructions or conditions

      Correct Answer:machine learning,a subset of AI where systems improve as they process more data

      a subset of AI where systems improve as they process more data

      Q5.
      A TV recommendation system that uses AI to suggest shows is an example of a approach.

      Correct answer: data-driven
      rule-based

      Q6.
      Why do AI systems require large amounts of data?

      to slow down processing and make decisions more carefully
      Correct answer: to identify patterns accurately and make better predictions
      to avoid making any mistakes
      to replace human intelligence completely

      6 Questions

      Q1.
      What is a sample in the context of gathering data for a model?

      a full data set used for testing
      Correct answer: a single set of data used for training or testing
      a category assigned to multiple data points
      a complete AI model

      Q2.
      is measured in three directions: x (side-to-side), y (forward-backward), and z (up-down).

      Correct Answer: movement

      Q3.
      Why do we label movement data with 'good' and 'bad'?

      to make the data set larger
      because computers cannot understand numerical data
      Correct answer: so the model can predict whether a movement is good or bad based on patterns
      to randomly assign labels to data points

      Q4.
      A is a way of representing something in the real world using data patterns.

      Correct Answer: model

      Q5.
      Match the concept with the definition.

      Correct Answer:model,a system that represents real-world data patterns

      a system that represents real-world data patterns

      Correct Answer:sample,a single set of data used for training or testing

      a single set of data used for training or testing

      Correct Answer:class,a category assigned to multiple samples

      a category assigned to multiple samples

      Correct Answer:data-driven approach,a method where decisions are based on patterns in data

      a method where decisions are based on patterns in data

      Q6.
      When creating a movement model, motion values for x, y and z are plotted against ...

      Correct Answer: time, ime

      To help you plan your 9 computing lesson on: Gathering data for a model, download all teaching resources for free and adapt to suit your pupils' needs...