What fundamental problem does nested cross-validation address that flat cross-validation cannot?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Explain why using one cross-validation score both to tune hyperparameters and to report performance gives an optimistic estimate, and how nested cross-validation separates the two. Tests understanding of selection bias, the outer and inner loop structure, and the cost of nested CV.