Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the purpose of stratified sampling in cross-validation?

  1. A Preserving the class distribution in each fold
  2. B Reducing computation
  3. C Removing outliers
  4. D Increasing the sample size
Answer

Preserving the class distribution in each fold

With rare positive classes, a random fold may contain very few or no positives, making the fold's metrics meaningless.

All Data Science MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as