# Validation Sets: Keep the Test Set for Last

Every time you look at the test score while choosing a model or a setting, the choice learns a little about the test rows, so choose with a validation set or with cross-validation on the training part, and score the test set once, at the end, for the model you chose.

![Cheat sheet: Validation Sets: Keep the Test Set for Last](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/b801b4dc7fe24815b484690bc35132bf.webp)

- Category: Machine Learning
- Level: Journeyman
- Tags: ai, Cross-Validation, python, Test Data, Training Data, Validation Set
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-validation-and-test-sets-cheat-sheet
