Question 8 of 10Pro Only
What is cross-validation, and why is it preferred over a simple train-test split? Explain k-fold cross-validation and when you would use different values of k.
Sample answer preview
Cross-validation is a resampling technique used to evaluate machine learning models and tune hyperparameters. It provides more reliable performance estimates than a single train-test split by using the data more efficiently.
cross-validationk-foldstratifiedleave-one-outhyperparameter tuningvariance