Question
What is stratified sampling in a train-test split?
Select an option. Your answer will be checked instantly.
Correct Answer: B. Preserving approximately the same class proportions in each split
Explanation:
Stratification reduces accidental class imbalance between partitions.
It is especially useful for small or imbalanced datasets.
Leave a Reply