Have We Really Held Out a New Example?

Several rows can belong to the same greenhouse, patient, or device. If we want to predict for a new entity, a random row split can put familiar entities on both sides of the evaluation.

10 sections · 3 questions · 2 coding challenges

1 / 10

Repeated Measurements Need a Different Evaluation Boundary

BOTIE

Repeated observations are common in scientific datasets. Measurements from one person, device, or location can share properties that distinguish them from other groups. Treating all rows as independent can therefore overstate performance on new groups.

Grouped validation procedures address the evaluation boundary by keeping a group's observations together. Scikit-learn documents these splitters separately from ordinary random splits. Our invented greenhouses make the group identity visible without claiming that one split design is appropriate for every prediction task.

Sources for this history