You observe a positive but unstable relationship between feature X and target Y across subgroups. Which advanced validation strategy best diagnoses this problem while preventing leakage?

Answer

Group-wise cross-validation using a grouping key tied to the subpopulations and temporal ordering when present

Explanation

Group-wise/blocked validation tests generalization to truly unseen subpopulations and temporal segments while reducing information leakage across folds.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list