To accurately evaluate how a model will perform on new data, we must split our dataset into training and validation (or test) sets.
The golden rule of machine learning validation is: never let information from the validation set leak into training.