Skip to content
PaperFren

Concept

Generalization and sample size

4 studies1 discoveryEvidence last moved Sep 27, 2026

Generalization is how well a trained model performs on data it has never seen, as opposed to the data used to fit or tune it. The evidence here comes from computational studies of biomedical prediction: learning-curve experiments on dropout prediction and on simulated and clinical tabular data, a four-hospital surgical mortality model, and a sleep-staging network tested across 21 datasets.

A model's reported score is only as trustworthy as the way it was evaluated. These studies show that small data and in-sample evaluation can make useless models look good, and that moving to a new hospital or dataset is the real test.

Studies

4

Findings

5

6 supporting · 0 challenging · 1 qualifying citations

Open tensions

1

Latest change

Concept page published

Generalization and sample size

Currently

What we know

  1. Small datasets make cross-validation scores optimistic and noisy.
  2. Model selection on small data can manufacture apparent signal from noise.
  3. More data reduces variance, but cannot rescue features that carry little signal.
  4. External validation across sites reveals what internal testing cannot, and training-set size helps transfer.
  5. Training on many heterogeneous datasets can yield a model that holds up across cohorts.

Largest unresolved question

The proposed minimum sample sizes differ: one study suggests at least 500 users (about 1,000 when comparing richer feature sets) for dropout prediction, while another proposes criteria based on effect size of 0.5 or more and stable accuracy above 80%, rather than a fixed N.

Common misconceptions

  • A high cross-validation score means the model will work on new data.

    On small data, cross-validation that also drives model selection can exceed true test performance by a wide margin, even for a model built on uninformative features. A separate test set, nested cross-validation and external sites are needed.

  • There is one universal minimum sample size for machine learning.

    The data needed depends on how strong the signal is and how flexible the model is: simpler models plateaued around 750 users while a neural network kept improving until about 1,500, and weak-effect data never reached high accuracy.

Related