Testing the data a model learns from
Test the data before the model: check labels, balance, leaks, fit to real users and rules between columns.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a school textbook. A student learns a subject from one textbook and nothing else. If the book has printing mistakes, the student learns the mistakes. If it covers only one chapter, the student knows only that chapter. If last year's exam answers are printed inside, the student scores well and has learned nothing.
A model learns from a in the same way. The data set is its textbook. Tom cannot fix a model by testing its answers alone, because a bad textbook makes a bad student. So he tests the book first.
Daily List is a to-do list app. Leo's urgent helper learns from 190 tasks that people marked urgent or not. Each mark is a , the right answer attached to one example. Tom looks for four kinds of trouble.
Are the labels right? Do the tasks look like the tasks real users write? That question is about . Did a clue from the future slip into the data? That is . Do the columns obey the agreed product constraints? In this authored fixture, due dates cannot precede task creation; another product may legitimately allow backdated overdue tasks.
The picture has limits. A student can ask a teacher about a printing mistake, and a model cannot. A textbook has one author, and a data set often has many sources. A book is read once, while a model may be taught again with new data.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- representativeness
- how well those who answered match everyone
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Seeing the as the textbook a model learns from, so a tester checks the book before testing the student.
- Check the labels
- Check the balance
- Hunt for leaks
- Match real use
- Test column rules
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Printing mistakes in the book | Wrong training labels |
| A book that covers one chapter only | Data that does not match real use |
| Exam answers printed inside the book | Data leakage |
| A page that contradicts itself | A broken rule between two columns |
WHERE THIS PICTURE STOPS
- A student can ask a teacher about a mistake. A model cannot.
- A textbook has one author. A data set often has many sources.
- A book is read once. A model may be taught again with new data.
HOOK
Test the book before the student.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Check the labels first. Then check the balance, hunt for leaks, match real use and test the rules between columns.
| In the trick | What it stands for |
|---|---|
| Labels | the right answer attached to one example |
| Leaks | information the model could not have at use time |
| Real use | the cases the model will meet |
TELL A FRIEND
A model learns from its like a student from a textbook. Check the labels, the balance, any leaks, the fit to real use and the rules between columns before you blame the model.
OFTEN MIXED UP WITH Bias and fairness checks. That lesson compares a model's results for groups after training. This one tests the data before the model learns from it.
PRACTISE AND KEEP
Sources for this topic — 8 sources
- Market practice
ISTQB Certified Tester AI Testing (CT-AI) Syllabus v2.0 (copy hosted by ATSQA) ↗ — ISTQB, copy hosted by ATSQA · Mirror copy of the publisher PDF (ISTQB syllabus CT-AI v2.0, 17 April 2026), version checked against the document's own front matter, read in full text: AI-3.2.1 (K2) data preparation activities; chapter 5 on input data testing: AI-5.1.1 (K2) test approaches that reduce input data risks, AI-5.1.4 (K2) data representativeness, AI-5.1.5 (K3) dataset constraint testing, AI-5.1.6 (K2) label correctness testing, HO-5.1.7 (H2) input data testing
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-AI v2.0, 17 April 2026), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
- Market practice
Datasets: Data characteristics (Google Machine Learning Crash Course) ↗ — Google · Data quality means whether the data helps the model reach its goal, and bad labels are a common cause of unreliable data (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Datasets: Labels (Google Machine Learning Crash Course) ↗ — Google · Labels made by people can be costly and wrong, so they need quality control; machine-made labels need checks for accuracy and bias (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Datasets: Class-imbalanced datasets (Google Machine Learning Crash Course) ↗ — Google · A dataset is imbalanced when one label is far more common than another; accuracy is then a poor metric (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Production ML systems: Monitoring pipelines (Google Machine Learning Crash Course) ↗ — Google · Label leakage is when ground-truth labels enter the training features by mistake; it can be very hard to detect (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Towards a Standard for Identifying and Managing Bias in Artificial Intelligence, NIST Special Publication 1270 (National Institute of Standards and Technology) ↗ — National Institute of Standards and Technology (NIST) · Names systemic, statistical and computational, and human bias and gives preliminary guidance on datasets, testing and evaluation (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: March 2022, 86 pages. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Certified Tester Artificial Intelligence Testing Syllabus v2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CT-AI v2.0, 17 April 2026), version checked against the document's own front matter, read in full text: AI-3.2.3 (K2) contrast the use of training, validation and test datasets in the development of an ML model
Actual iSQI-hosted publisher PDF and version front matter inspected. Exact section/page coverage and limits are recorded in the v35 Specialist analysis ledger. Simplified source statements are contextualised separately in lessons, not silently represented as universal technical laws. No source figure or extended copyrighted extract copied.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List, its numbers and the people are invented. The data sets are far smaller than real ones. The lesson paraphrases the syllabus and adds its own worked numbers.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.