Machine learning
Walk-forward validation for machine-learning models
Use rolling training and validation windows to test whether an ML pipeline adapts without learning from the future.
Validation must follow deployment
If a model will be retrained periodically, the research should simulate that schedule. Train on the information available at a historical date, freeze the model, score the next window, then advance and repeat.
Do not tune the retraining schedule by repeatedly reviewing the same final period. Treat the final evaluation as a protected decision.
Measure the pipeline, not just the model
Track data availability, feature generation time, missing values, prediction coverage, threshold decisions, trade costs, and execution. A model with good statistical metrics can still fail if the live pipeline misses predictions or produces them too late.
- Report every walk-forward window.
- Compare retrained and frozen-baseline behaviour.
- Measure calibration and coverage, not only accuracy.
- Include a safe response for model or data failure.
Watch for decay
A rolling evaluation can reveal when feature relationships, calibration, or execution quality drift. Define monitoring thresholds before deployment and decide whether the response is retraining, reducing risk, or pausing the model.
Retraining is not automatically a fix. If the data-generating behaviour has changed, more recent fitting may simply learn a new fragile pattern.
Discuss this article
Ask a setup question, share a backtest, or compare notes with other algorithmic traders. Use a display name; your email remains private.
Create an account or sign in above to join the conversation.
Loading discussion…