You are working on a dataset with an imbalanced class distribution. How would you apply Cross-Validation to ensure that each fold maintains the same class distribution?

  • Applying Cross-Validation without folding
  • Using Leave-One-Out Cross-Validation
  • Using k-fold Cross-Validation with random sampling
  • Using stratified k-fold Cross-Validation
Using stratified k-fold Cross-Validation ensures that each fold maintains the same class distribution by having the same proportion of each class as the entire dataset. It's a suitable choice for imbalanced class distribution, as it guarantees that each fold is a representative sample of the overall class proportions in the dataset.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *