Holding Out Whole Groups for Evaluation
A group split keeps related observations on the same side of a training and evaluation boundary when future predictions concern new groups.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace repeated measurements
Ten readings from the same device can share device-specific characteristics. Splitting individual rows can place close relatives in both subsets. Row identity and repetitions describe why they are related.
Choose the evaluation goal
If deployment scores unseen devices, hold out complete devices. If the task predicts later readings for known devices, a time-based split may better represent use. See training and test roles.[1][2]
Keep near-duplicate observations on one side of the boundary
A model is intended to predict for unseen machines. Five readings from machine A share its stable quirks. Splitting by row can put that machine in both training and evaluation, making a new-machine test too easy. Assign complete machine groups to one split. See duplicate checks across splits.
Train: machines A and B with all observations
Test: machine C with all observations
Verify no machine ID appears in both
Check distribution as well as disjointness
A group split can give uneven class counts if only one machine produces rare failures. Inspect how many groups support each outcome. State whether the goal is unseen observations or unseen entities.