Machine learning adapting its own data
A machine learning program changes its own stored data by adding, updating or removing items as it meets new cases, e.g. spam marked by users, and uses that data in later decisions.
Understanding Machine learning adapting its own data in IGCSE Computer Science Paper 1
What it does: Removing an item from the stored list shows the program changing its own data by deleting information that is no longer correct. In machine learning the program itself changes its data. It does not wait for a programmer to edit it. The changed data is used in later decisions, so the filter improves over time.
Common mistakes: When a user marks an email as spam, the program should add the new word to its stored data. remove() takes data away, so it should be spam_words.append(new_word). The keyword is misspelt. It should be return, so the function gives back the updated spam count.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 662–678) and word search (Modules 652–678).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
self-updating dataFill in the Blanks
Spot the Error
Student with a class code? Join your class →