liveBook · Manning

Evaluation dataset

As explained in Grokking Machine Learning

A held-out subset of labeled data used to compare models or training configurations during development.

A validation set is held-out data used to compare models and make choices such as which model or hyperparameters to use. Keep it separate from training data, and reserve the test set for a final check after those choices are made. section 4.3 section 4.7

A three-way split gives each portion a distinct job:

  • Training set: fit the models. section 4.3
  • Validation set: compare models and guide choices. section 4.3
  • Test set: check the selected model at the end; do not use it to make model decisions. section 4.3

Common splits include 60% training, 20% validation, and 20% testing, or 80%, 10%, and 10%. These proportions are examples, not fixed rules. section 4.3

Choosing a model

For polynomial regression, compare degree-1, degree-2, and degree-10 models using validation error; use the test set only after choosing a model. In a Titanic example, candidate classifiers are evaluated on validation data before a selected model is checked on test data. section 4.3 section 13.4

How Grokking Machine Learning covers it

How deep it goes
Explains the three-way split, common proportions, and test-set leakage risk, without detailing split strategy.
Examples
Compares polynomial models by validation error and evaluates candidate classifiers on preprocessed Titanic data.
What it assumes
Assumes prepared features and labels and basic model training, while explaining the roles of training, validation, and test data.
What you can do after
Apply it via Scikit-Learn’s train_test_split to compare models on validation data and reserve test data for final evaluation.
How it connects
Connects validation data to training sets, testing sets, model selection, hyperparameters, and overfitting.

Also explained in

Compare how 27 books explain evaluation dataset →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Machine Learning. The section links point to the parts of the book it draws on.