Held-out set

Basic concept

Examples kept aside and not looked at while building or editing a model, so they can test whether a change works beyond the cases it was made for.

Also called Test set, Held-out examples, Validation set

The original router and an edit run on the same 272 held-out tickets. Each dot is a ticket, coloured by the edited route; outlined dots changed. The task: send urgent, complete tickets to Expedited and leave the rest alone.

136 of 272 changed

Routine · missing info0 moved

Routine · complete68 moved

Urgent · missing info0 moved

Urgent · complete · target68 moved

  • Request info
  • Standard
  • Expedited
  • Changed
Figure 1. Every number is computed in your browser.

What it is

Any change can be made to look good on the examples you stared at while making it. Held-out examples answer the real question: does it work on cases you did not tune for? Training keeps separate training and test splits; editing needs the same discipline. The ticket router keeps 272 held-out tickets generated from a fixed seed, so every check uses the same ones.

Easy to misread

Held out does not mean representative: the 272 tickets cover four groups evenly, not every kind of real ticket. And a held-out set used again and again to choose between changes slowly stops being held out.

In WeightSpace

Lesson 2 and the weight playground check every edit against the 272 held-out tickets; catalog workbenches check each edit on every sample with Effect on every sample.