All jobs / Data science / ML / AI / Model Evaluation

Data science / ML / AI interview question · 0–1 years

You have daily sales for two years. How do you split?

The strongest answer

By time — train on the past, validate a later window, test the latest you still refuse to touch — not a shuffle that leaks tomorrow into today

Why it works

Exactly. Time-ordered data needs a time-respecting cut. Shuffle is future leakage.

What a good answer covers

Answers that fall short

Who gets asked this

More Model Evaluation questions