Training, testing and overfitting

How a model is fitted and judged.

1What it covers

How a model is fitted and judged. The topic covers the split of data into training, validation and test sets in time order, cross-validation for time series, overfitting and regularisation, performance measures that suit the use, and the comparison with a simple benchmark. It starts with data and ends with an out-of-sample result that can be believed. A worked example shows the steps.

2Why it matters

A model that fits the past perfectly may have learned noise. Time order matters because the future must not leak into training. A benchmark shows whether complexity adds anything.

3The skill it belongs to

4Roles that use it

Updated 5 Nov 2026