What is the one-standard-error rule in cross-validation model selection?

Quick Overview

Explain the one-standard-error rule for choosing among models of different complexity with cross-validation. Tests the procedure and the standard error calculation, why the minimum-error model is a noisy choice, where the rule comes from, and its limits as a heuristic.

What is the one-standard-error rule in cross-validation model selection?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is the one-standard-error rule in cross-validation model selection? Explain the rule, why it is used, and how you would apply it when choosing among candidate models of increasing complexity. ```hint Reshuffle the folds in your head Think about how much each candidate's mean CV error would move if you split the folds differently, and what that means for the candidate that happens to have the lowest error. ``` ### What a Strong Answer Covers - The rule, stated with the complexity ordering it needs - How the standard error is computed from the folds - Why the minimum-error model is a noisy and optimistically biased choice - Where the rule comes from and how common tools expose it - Its limits as a heuristic ### Follow-up Questions - The CV error of the chosen model is optimistically biased. How would you report an honest estimate of its error? - How would you apply the rule with scikit-learn's `GridSearchCV`? - What changes if you use half a standard error or two standard errors instead of one? - When would you not use the rule?

Overview: Explain the one-standard-error rule for choosing among models of different complexity with cross-validation. Tests the procedure and the standard error calculation, why the minimum-error model is a noisy choice, where the rule comes from, and its limits as a heuristic.

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

What is the one-standard-error rule in cross-validation model selection?

Explain the rule, why it is used, and how you would apply it when choosing among candidate models of increasing complexity.

What a Strong Answer Covers Guidance

  • The rule, stated with the complexity ordering it needs
  • How the standard error is computed from the folds
  • Why the minimum-error model is a noisy and optimistically biased choice
  • Where the rule comes from and how common tools expose it
  • Its limits as a heuristic

Follow-up Questions Guidance

  • The CV error of the chosen model is optimistically biased. How would you report an honest estimate of its error?
  • How would you apply the rule with scikit-learn's GridSearchCV ?
  • What changes if you use half a standard error or two standard errors instead of one?
  • When would you not use the rule?