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
Related questions
A team wants to train at scale using distributed training with high bandwidth while staying within AWS best practices for reproducibility and speed. Which setup is most appropriate?
View question →
You must fine-tune a foundation model for domain-specific text classification and ensure the resulting training/inference job is reproducible with strict artifact lineage. What should you use?
View question →
Your regression model shows strong performance on the training set but degrades after deployment due to covariate shift. Which action most aligns with an operational strategy covered by AWS ML practices to detect and mitigate shift?
View question →
You need to deploy a multi-model endpoint for 200 small models with low traffic, while preserving isolation and controlling scaling. Which configuration best fits these constraints?
View question →
A dataset includes missing values and severe class imbalance; you want to optimize F1 while maintaining calibrated probabilities for downstream decision thresholds. Which training strategy best matches these requirements?
View question →
A model trained in SageMaker must be deployed to multiple AWS accounts with consistent governance. Which combination best enforces policy controls while supporting multi-account deployments?
View question →