Machine Learning and Knowledge Extraction

Stratified Bootstrap or Stratified Cross-Validation: How to Do Reliable Model Validation Under Class Imbalance

Borislava Toleva

Computational

Key points

From the paper's conclusion
  • The results show that the proposed bootstrap produces performance metrics consistent with the benchmark resampling procedures while providing additional information about validation reliability and model stability.

Abstract

Model validation is essential for evaluating how reliably a machine learning model performs on unseen data, especially in imbalanced classification where performance estimates can be affected by an underrepresentation of the minority class. Cross-validation methods are widely used for this purpose. However, they do not always provide direct information about the quality of individual validation samples or the stability of model performance when the training data changes. This study proposes a reliability-controlled stratified bootstrap procedure for model validation in imbalanced classification. The method applies class-aware bootstrap sampling and constructs the test sample from observations not used for training. In addition, each bootstrap run is evaluated according to predefined reliability criteria related to minority-class representation, preservation of class proportions and train–test independence. Model performance is assessed using standard classification metrics together with minority-class measures, variability across bootstrap repetitions and the train–test performance gap. The proposed stratified bootstrap is evaluated across six imbalanced datasets and six classification models and is compared with holdout train/test splits, k-fold cross-validation, stratified k-fold cross-validation and stratified shuffle splitting. The results show that the proposed bootstrap produces performance metrics consistent with the benchmark resampling procedures while providing additional information about validation reliability and model stability. In addition, the parallel implementation of the proposed bootstrap reduces computational time in many of the experiments, although the computational advantage depends on the dataset and classifier. Therefore, the proposed bootstrap can complement established resampling procedures when reliability control, minority-class evaluation and stability under repeated changes in the training data are important.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Stratified Bootstrap or Stratified Cross-Validation: How to Do Reliable Model Validation Under Class Imbalance — Science Skim