TOPIC 28/5120 MINNOT STARTED

The machine learning workflow in detail: settings, data preparation and data splits

Follow a model from objectives to monitoring. Tell the two kinds of setting apart, list the data preparation steps, and see why a final test set and k-fold checks guard the score.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a student with notes, practice papers and a final exam. A student learns from study notes. Then the student takes practice papers and changes the study plan if the marks are low. The real exam comes last, and the student sits it only once.

If final-exam feedback guides preparation, the resulting mark no longer measures untouched independent performance. In ML, overlapping development and final-evaluation cases similarly compromise that independence; repeating a fixed benchmark without using feedback is not automatically leakage.

A machine learning (ML) model is built in the same way. Daily List is a to-do list app. Leo, the developer, trains a model that flags urgent tasks. Tom, the tester, asks which data is the notes. That is the practice paper and which is the final exam. He also asks who chose the study plan.

The picture has limits. A student understands the subject, and a model only adjusts numbers. A student sits one exam, while a model may be checked many times as the data ages.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

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 Asking which data was used for which step, so the final score is an honest one.

  1. Train on the notes
  2. Tune on the papers
  3. Test once on the exam
  4. Report the exam mark
Three sets, one rule

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Study notesThe training set
Practice papersThe validation set
The real exam, sat onceThe test set
Swapping which chapter is left outCross-validation folds
The study plan chosen before termThe hyperparameters

WHERE THIS PICTURE STOPS

  • A student understands the subject, but a model only adjusts numbers.
  • A student sits one exam, but a model may be checked many times as the data ages.

HOOK

Notes train, papers tune, exam tests once.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

Train on the first set, tune on the second, test on the third, and touch the third only once.

What each part of the trick stands for
In the trickWhat it stands for
Traintraining set
Tunevalidation set
Testtest set

TELL A FRIEND

A model learns from notes, tunes on practice papers and is tested once on a final exam. Report the exam mark, because the papers helped choose the plan.

OFTEN MIXED UP WITH Testing the data a model learns from. That lesson tests the data for faults. This lesson shows the whole workflow, the settings and how the data is split.

PRACTISE AND KEEP

Sources for this topic — 6 sources
  1. Market practice

    Certified Tester Artificial Intelligence Testing Syllabus v2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Section 3.1.1: forms of machine learning, including association as an unsupervised task; version 2.0 GA (17 April 2026), mirror copy of the publisher PDF, version checked against front matter, opened

    CT-AI syllabus v2.0 GA, 17 April 2026, 93 pages. This audit read the actual related sections recorded in the Specialist source ledger: selected AI foundations, data/workflow, neural coverage, testing methods and deployment sections. Professional certification guidance, not an ISO standard or legislation. The audit does not claim every PDF page was reviewed. · Checked 2026-11-06

    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.

  2. Market practice

    Certified Tester Artificial Intelligence Testing Syllabus v2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Section 3.1.2: the machine learning workflow: objectives, framework, algorithm, data, training with model and algorithm hyperparameters, evaluation, tuning, testing, deployment, use, monitoring; version 2.0 GA (17 April 2026), mirror copy of the publisher PDF, version checked against front matter, opened

    CT-AI syllabus v2.0 GA, 17 April 2026, 93 pages. This audit read the actual related sections recorded in the Specialist source ledger: selected AI foundations, data/workflow, neural coverage, testing methods and deployment sections. Professional certification guidance, not an ISO standard or legislation. The audit does not claim every PDF page was reviewed. · Checked 2026-11-06

    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.

  3. Market practice

    Certified Tester Artificial Intelligence Testing Syllabus v2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Section 3.2.1: data preparation: acquisition, preprocessing, feature engineering and exploratory data analysis; version 2.0 GA (17 April 2026), mirror copy of the publisher PDF, version checked against front matter, opened

    CT-AI syllabus v2.0 GA, 17 April 2026, 93 pages. This audit read the actual related sections recorded in the Specialist source ledger: selected AI foundations, data/workflow, neural coverage, testing methods and deployment sections. Professional certification guidance, not an ISO standard or legislation. The audit does not claim every PDF page was reviewed. · Checked 2026-11-06

    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.

  4. Market practice

    Certified Tester Artificial Intelligence Testing Syllabus v2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Section 3.2.3: training, validation and test datasets, hold-out test set and k-fold cross-validation; version 2.0 GA (17 April 2026), mirror copy of the publisher PDF, version checked against front matter, opened

    CT-AI syllabus v2.0 GA, 17 April 2026, 93 pages. This audit read the actual related sections recorded in the Specialist source ledger: selected AI foundations, data/workflow, neural coverage, testing methods and deployment sections. Professional certification guidance, not an ISO standard or legislation. The audit does not claim every PDF page was reviewed. · Checked 2026-11-06

    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.

  5. Market practice

    Certified Tester Artificial Intelligence Testing Syllabus v2.0 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Section 3.4.1: training a neural network: weights and biases start small and random, the loss is fed back, one pass through the training data is an epoch; version 2.0 GA (17 April 2026), mirror copy of the publisher PDF, version checked against front matter, opened

    CT-AI syllabus v2.0 GA, 17 April 2026, 93 pages. This audit read the actual related sections recorded in the Specialist source ledger: selected AI foundations, data/workflow, neural coverage, testing methods and deployment sections. Professional certification guidance, not an ISO standard or legislation. The audit does not claim every PDF page was reviewed. · Checked 2026-11-06

    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.

  6. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Daily List, Sam, Nina, Tom, Mei, Leo and Lily are invented, and so are the numbers and examples in this lesson. The lesson is a simplified teaching view; the syllabus and the standards it names go into more detail. This lesson is not a certification of the International Software Testing Qualifications Board (ISTQB) and is not accredited exam preparation.

    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.