Stratified Cross-Validation Calculator

K-fold CV with preserved class proportions in each fold

About Stratified Cross-Validation

Stratified k-fold CV ensures each fold has approximately the same class distribution as the full dataset.

When to use:

  • Classification problems with imbalanced classes
  • Small datasets where random splits may create unrepresentative folds
  • When consistent class representation matters

Benefit: Reduces variance in performance estimates compared to regular k-fold CV.