Skip to content

Train/Test Split

Splitting data into two parts before training:

  • train — the part on which the model learns;
  • test — the part on which the quality is checked.

Why

A model cannot be evaluated on the same data it was trained on: it might have memorized them. The test set is an 'exam' on unseen examples.

Typical Ratio

  • 80% training / 20% testing — the classic approach;
  • with small data volume, cross-validation is used.

See Also

← All terms