Why use group-based splits instead of random splits?
Reveal the answer and explore the explanation.
15MediumHigh priorityWhy use group-based splits instead of random splits?
Answer
MediumHigh priority
Why use group-based splits instead of random splits?
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 ↗