QUESTION 6 OF 15

Why use stratified train-test splits?

Reveal the answer and explore the explanation.

06
Medium

Why use stratified train-test splits?

Answer
Answer

Preserves class proportions approximately across splits.

Practical example

Keep rare positive cases represented in training and test.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As