A time-series classification dataset is split into training/validation/test using different time windows. During training with hyperparameter tuning, validation performance is high but test performance collapses due to temporal leakage. Which mitigation is most likely to fix the issue?

Answer

Use time-aware splitting (e.g., forward-chaining) and incorporate the same windowing into resampling/hyperparameter tuning.

Explanation

Forward-chaining splits enforce temporal causality; ensuring hyperparameter tuning respects these windows prevents leakage from the future into model selection.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list