If you fit a model on a dataset and then evaluate it on the same dataset, you will always get an overly optimistic result. The model has "seen" the answers and has been optimised for them. This is in-sample evaluation — it tells you how well the model memorised the training data, not how well it predicts the future.
The solution: reserve a portion of data exclusively for testing. The model never sees this data during training.
Standard split:
For time-series data (sports matches are time-ordered), use a temporal split: all matches before date X for training, all matches after date X for testing. Do not randomly shuffle time-series data — this introduces lookahead bias.
Even a single temporal split can be misleading if the split date is chosen to favour the model. Walk-forward testing (also called rolling window validation) is more robust:
This simulates how the model would perform in genuine real-time deployment.
A test set must be large enough to provide statistically meaningful evaluation. For a betting model:
Train/Test Split and Out-of-Sample Testing: Demand large out-of-sample evidence, respect regression to the mean, and calibrate probabilities against objective scoring rules like Brier score and CLV.