With a coding agent a forecasting model is built quickly, and the first metrics often look suspiciously good. A common cause is information from the future slipping into training through features, scaling or cross-validation. This training shows how to develop time series forecasting with coding agents so that models deliver in production what the test promised. You start with simple benchmark models, build rolling-origin backtests, compare exponential smoothing, ARIMA and regression approaches and have prediction intervals produced instead of single numbers. You practise on cash flows, claim notifications and demand series with seasonality, public holidays and structural breaks.
Who the forecasting training is for
Analysts, controlling, treasury, actuarial and data science teams who produce forecasts regularly and use Python or want to start using it.
What you'll walk away with
- Set simple benchmarks such as naive and seasonal naive forecasts as the bar every more complex model must clear
- Set up rolling-origin backtests and rule out leakage through features, scaling and validation
- Have the agent implement exponential smoothing, ARIMA and regression models with calendar features and compare them fairly
- Produce prediction intervals and check their actual coverage in the backtest
- Recognise structural breaks, outliers and one-off effects and handle them in the model or in communication
Typical scenarios
- A treasury team forecasts daily outgoing payments and finds in the backtest that a seasonal naive model beats the agent's elaborate gradient boosting model.
- A general insurer models weekly claim notifications with holiday effects and gives workforce planning an interval rather than a single figure.
- In controlling, a review reveals that the agent had fitted the scaling on the entire series; after the fix, the apparent forecast accuracy drops to a realistic level.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the forecasting training covers
- Day 1: Data and benchmarksPrepare time series cleanly, make seasonality and trend visible and set naive forecasts as the benchmark.
- Day 1: Honest backtestingRolling origin, forecast horizons, error measures and a leakage checklist for the agent.
- Day 1: Classical modelsExponential smoothing and ARIMA with statsmodels, residual diagnostics and comparison in the backtest.
- Day 2: Regression and feature approachesCalendar features, holidays, external drivers and lagged features that only use information known at forecast time.
- Day 2: Communicating uncertaintyPrediction intervals, coverage in the backtest and charts that decision-making committees read correctly.
- Day 2: Operation and monitoringA reproducible pipeline, retraining, monitoring forecast errors and dealing with structural breaks.
Before the forecasting training: prerequisites
- Basic statistics and Python with pandas
- A Python installation with pandas and statsmodels and a coding agent you may use at work
- Optionally an anonymised time series of your own that you want to forecast
Materials you keep
- A backtesting template with rolling origin and error measures
- A leakage checklist for prompts and reviews
- Notebooks with benchmark, smoothing, ARIMA and regression models