Overfitting occurs when a model learns to predict the training data too well — including the noise, not just the signal. An overfitted model performs well in sample but poorly out of sample.
All models face the bias-variance tradeoff:
1. Regularisation: Add a penalty for complexity to the model's loss function. L2 regularisation (Ridge): shrinks all coefficients toward zero. L1 regularisation (Lasso): forces some coefficients to exactly zero (feature selection).
2. Early stopping: In iterative models: stop training when test performance stops improving (even if training performance continues improving).
3. Feature reduction: Fewer features = lower overfitting risk. Use domain knowledge to select theoretically motivated features.
4. Cross-validation: Rigorous time-series cross-validation reveals overfitting — models that overfit show large train/test performance gaps.
5. Minimum sample per feature: Rule of thumb: at least 50–100 observations per model parameter. A 10-feature model needs 500–1,000 training matches.
Overfitting: Recognition and Prevention: Demand large out-of-sample evidence, respect regression to the mean, and calibrate probabilities against objective scoring rules like Brier score and CLV.