Question 5 of 10Pro Only

What is cross-validation, and why is it preferred over a simple train-test split in many scenarios?

Sample answer preview

Cross-validation is a resampling technique used to evaluate machine learning models by training and testing on different subsets of the data multiple times. The most common form is k-fold cross-validation, where the dataset is divided into k equal parts called folds.

cross-validationk-foldresamplingholdoutleave-one-outvariance reduction

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Data Scientist interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime