Why can leave-one-out cross-validation have higher variance in its error estimate than 10-fold cross-validation?

Quick Overview

Asks why leave-one-out cross-validation can give a noisier estimate of test error than 10-fold cross-validation. Tests your understanding of correlated fold errors, the variance of an average of correlated terms, learner stability, and the bias, variance and compute trade-off in choosing k.

Why can leave-one-out cross-validation have higher variance in its error estimate than 10-fold cross-validation?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why can leave-one-out cross-validation exhibit higher variance in its error estimate compared to 10-fold cross-validation? ```hint Look at the overlap How many training points do two leave-one-out fits share, and what does that do to the correlation between their errors? ``` ```hint Variance of an average Write the variance of a mean of n terms that all have the same variance and the same pairwise correlation. ``` ### What a Strong Answer Covers - Explains how much the leave-one-out training sets overlap and what that does to the correlation between the per-fold errors - Uses the variance of an average of correlated terms to show why averaging more folds does not help much - Mentions the noise in single-point errors and the effect of unstable learners - Places leave-one-out and 10-fold on the bias, variance and compute trade-off - Says whether the result holds for every learner and what it depends on ### Follow-up Questions - For which models can leave-one-out error be computed from a single fit, and what is the formula for linear regression? - How does repeated 10-fold cross-validation change the variance of the estimate, and what source of variance does it leave untouched? - Why is the variance of a k-fold estimate hard to estimate from a single run? - When would you still choose leave-one-out over 10-fold?

Overview: Asks why leave-one-out cross-validation can give a noisier estimate of test error than 10-fold cross-validation. Tests your understanding of correlated fold errors, the variance of an average of correlated terms, learner stability, and the bias, variance and compute trade-off in choosing k.

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

Why can leave-one-out cross-validation exhibit higher variance in its error estimate compared to 10-fold cross-validation?

What a Strong Answer Covers Guidance

  • Explains how much the leave-one-out training sets overlap and what that does to the correlation between the per-fold errors
  • Uses the variance of an average of correlated terms to show why averaging more folds does not help much
  • Mentions the noise in single-point errors and the effect of unstable learners
  • Places leave-one-out and 10-fold on the bias, variance and compute trade-off
  • Says whether the result holds for every learner and what it depends on

Follow-up Questions Guidance

  • For which models can leave-one-out error be computed from a single fit, and what is the formula for linear regression?
  • How does repeated 10-fold cross-validation change the variance of the estimate, and what source of variance does it leave untouched?
  • Why is the variance of a k-fold estimate hard to estimate from a single run?
  • When would you still choose leave-one-out over 10-fold?