Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a machine learning project, you are using cross-validation to evaluate the performance of your model. You have a dataset with 1000 samples and want to perform stratified K-fold cross-validation. Which of the following statements is true, and why?
A
Stratified K-fold cross-validation ensures that each fold has a balanced representation of the target variable.
B
Stratified K-fold cross-validation ensures that the training set is always larger than the validation set.
C
Stratified K-fold cross-validation is not suitable for time series data.
D
Stratified K-fold cross-validation is not suitable for datasets with imbalanced classes.