Why does a single hold-out train/test split exhibit high variance on small datasets?

Quick Overview

Asks why the score from one train/test split is unreliable when the dataset is small, and what to use instead. Tests whether you can reason about the standard error of a test metric, the effect of a smaller training set, and the limits of cross-validation.

Why does a single hold-out train/test split exhibit high variance on small datasets?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Why does a single hold-out train/test split exhibit high variance on small datasets? Explain where the variance comes from and what you would do instead. ```hint Treat the score as an estimate Think of the test score as a sample mean, and ask how its uncertainty depends on the sample size. Then consider what else changes when a different subset is held out. ``` ### What a Strong Answer Covers - The test score as an average over few examples, and how large its standard error is - How holding out data changes the trained model and biases the estimate - How chance can make a small split unrepresentative - What to use instead, and what it does and does not fix ### Follow-up Questions - With 200 labeled examples, how would you set up both evaluation and hyperparameter tuning? - Why can the standard deviation of k-fold scores understate the real uncertainty of the estimate? - How does the choice of k trade bias against variance and compute?

Overview: Asks why the score from one train/test split is unreliable when the dataset is small, and what to use instead. Tests whether you can reason about the standard error of a test metric, the effect of a smaller training set, and the limits of cross-validation.

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

Why does a single hold-out train/test split exhibit high variance on small datasets? Explain where the variance comes from and what you would do instead.

What a Strong Answer Covers Guidance

  • The test score as an average over few examples, and how large its standard error is
  • How holding out data changes the trained model and biases the estimate
  • How chance can make a small split unrepresentative
  • What to use instead, and what it does and does not fix

Follow-up Questions Guidance

  • With 200 labeled examples, how would you set up both evaluation and hyperparameter tuning?
  • Why can the standard deviation of k-fold scores understate the real uncertainty of the estimate?
  • How does the choice of k trade bias against variance and compute?