You must design an evaluation workflow that prevents inadvertently training on labels leakage for a time-dependent dataset. Which approach best addresses this risk?

Answer

Use a time-based split (e.g., train on earlier windows, test on later windows) and ensure feature generation uses only information available up to the prediction timestamp

Explanation

Time-based splits better mimic production conditions for temporally correlated data. Restricting feature computation to past information prevents label leakage and overly optimistic evaluation.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list