Agentic Coding · Training · Actuarial, finance & OR

Time Series Forecasting with Coding Agents: Training on Backtesting, Uncertainty and Robust Models

Produce forecasts for cash flows, claim counts or demand that survive an honest backtest, with agents that build the pipelines and rules that keep data leakage out.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Training
Duration
2 consecutive days
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–12 participants
Level
Intermediate
Language
German or English

Tools: Claude Code · Python · pandas · statsmodels · Jupyter

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

  1. 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.
  2. A general insurer models weekly claim notifications with holiday effects and gives workforce planning an interval rather than a single figure.
  3. 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.

Request dates

What the forecasting training covers

  1. Day 1: Data and benchmarksPrepare time series cleanly, make seasonality and trend visible and set naive forecasts as the benchmark.
  2. Day 1: Honest backtestingRolling origin, forecast horizons, error measures and a leakage checklist for the agent.
  3. Day 1: Classical modelsExponential smoothing and ARIMA with statsmodels, residual diagnostics and comparison in the backtest.
  4. Day 2: Regression and feature approachesCalendar features, holidays, external drivers and lagged features that only use information known at forecast time.
  5. Day 2: Communicating uncertaintyPrediction intervals, coverage in the backtest and charts that decision-making committees read correctly.
  6. 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

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the forecasting training

Do you cover machine learning models too?

Yes, gradient boosting and similar models appear as comparisons. The focus, however, is on honest evaluation: a complex model has to show in the backtest that it beats simple approaches before the extra effort of running and explaining it pays off.

Is the training suitable for forecasting financial markets?

It is not designed for price forecasting. It is aimed at operational series such as cash flows, claim counts, volumes or demand, where seasonality, calendar effects and structure matter and forecasts feed into planning. Many of the backtesting techniques are useful there too, though.

Do we work with our own data?

Gladly, if it is anonymised and your organisation permits its use with the chosen tool. Otherwise we provide realistic sample series with seasonality, holidays and structural breaks, on which every technique from the two days can be practised well.

Is the training held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.