Interview practice question
Random split on time-based data
Machine Learning · ML Fundamentals · Beginner
A colleague used a random train-test split for a model that predicts next month's sales. What's wrong?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Random split lets the model train on future data.
- Overly optimistic results.
- Use time-based split: train on past, test on later period.
- Use rolling or expanding window validation.
- Make sure features only use past information.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.