Storage glossary · JSON corpus · llms.txt · hesela.com

grouped-cross-validation · shipping · also group-wise cross-validation, group-aware cross-validation

Grouped cross-validation

Grouped cross-validation evaluates a predictor using splits that keep all observations from each specified group together in either training or testing within a split.

Related Observatory article: Grouped cross-validation on hesela.com

GroupKFold holds each group out once across its test folds. [1] In storage evaluation, group by physical drive to test unseen drives or by site to test unseen sites; these are different generalization questions. Group separation alone does not impose chronological order. [2]

Relations

related
temporal-validation, prediction-horizon, class-prevalence, smart

Limitations

Citations

  1. scikit-learn: GroupKFold, non-overlapping groups and per-fold behavior. (accessed 2026-10-14)
  2. scikit-learn: cross-validation for grouped data, time series and training-only transformations. (accessed 2026-10-14)

JSON: /data/terms/grouped-cross-validation.json