How does k-fold cross-validation work?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks how k-fold cross-validation estimates model performance by training and scoring on rotating folds. Tests the procedure, what the averaged score measures, and common pitfalls such as preprocessing leakage, tuning on the same folds, and grouped or time-ordered data.