Question 8 of 10Pro Only

Explain k-fold cross-validation and stratified cross-validation. Why is cross-validation important, and what are its variations?

Sample answer preview

Cross-validation is a resampling technique that provides robust estimates of model performance by training and evaluating the model multiple times on different subsets of the data. It addresses limitations of single train-test splits.

k-foldcross-validationstratifiedleave-one-outtime seriesnested

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more AI/ML Engineer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime