When is stratified k-fold cross-validation preferred over standard k-fold cross-validation?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: A cross-validation question asking when stratified k-fold should be used instead of plain k-fold for evaluating a classifier. It tests reasoning about class balance across folds, the spread of per-fold metrics, library defaults, and choosing a splitting scheme that fits the data.