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

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

Each user has 40 sessions. You split rows at random. What goes wrong?

The strongest answer

The same person leaks into train and test — I split on the user (or the real unit), not the row, unless I can argue independence

Why it works

Exactly. The unit of split is the unit of generalisation. People are not independent rows.

What a good answer covers

Answers that fall short

Who gets asked this

More Model Evaluation questions