QUESTION 15 OF 15

Why use group-based splits instead of random splits?

Reveal the answer and explore the explanation.

15
MediumHigh priority

Why use group-based splits instead of random splits?

Answer
Answer

Keeps observations belonging to the same group in the same partition.

Practical example

Ensure records from a patient do not appear in both training and test.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As