Does a cross-validation score estimate the final refit model or the modeling procedure?

Quick Overview

Asks what a cross-validation score actually estimates: the single model refit on all the data, or the procedure that produced it. Tests understanding of how fold models differ from the final model, the bias of the estimate, leakage from steps outside the loop, and how to read the fold spread.

Does a cross-validation score estimate the final refit model or the modeling procedure?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Does a cross-validation score estimate the performance of the final model refit on all data, or of the modeling procedure? ```hint Count the models How many different fitted models does K-fold cross-validation produce, and is any of them the model you ship? ``` ```hint Compare training set sizes Compare how much data each fold's model sees with how much the final refit sees, and ask which way that difference pushes the estimate. ``` ### What a Strong Answer Covers - Which of the two the score estimates, argued from how the fold models and the final model are trained - How well the score works as an estimate for the final model, and the direction of any bias - Which steps must sit inside the cross-validation loop, and what goes wrong when one sits outside it - How to read the spread of scores across folds ### Follow-up Questions - Hyperparameters were tuned with the same cross-validation loop. How should you report the final score? - Why does a standard error computed from the fold scores understate the real uncertainty? - When would you report a held-out test set score instead of the cross-validation score? - How does the bias of the estimate change between 5-fold, 10-fold and leave-one-out cross-validation?

Overview: Asks what a cross-validation score actually estimates: the single model refit on all the data, or the procedure that produced it. Tests understanding of how fold models differ from the final model, the bias of the estimate, leakage from steps outside the loop, and how to read the fold spread.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Does a cross-validation score estimate the performance of the final model refit on all data, or of the modeling procedure?

What a Strong Answer Covers Guidance

  • Which of the two the score estimates, argued from how the fold models and the final model are trained
  • How well the score works as an estimate for the final model, and the direction of any bias
  • Which steps must sit inside the cross-validation loop, and what goes wrong when one sits outside it
  • How to read the spread of scores across folds

Follow-up Questions Guidance

  • Hyperparameters were tuned with the same cross-validation loop. How should you report the final score?
  • Why does a standard error computed from the fold scores understate the real uncertainty?
  • When would you report a held-out test set score instead of the cross-validation score?
  • How does the bias of the estimate change between 5-fold, 10-fold and leave-one-out cross-validation?