Problem
A rail freight operator with about 100 thousand wagons wants every wagon moving and earning money. Empty runs waste capacity, so sales needs a monthly plan of the most profitable shipments. The plan rests on demand forecasts at the finest level: client, wagon type, cargo, departure station and destination station. With about 5 thousand cargo names and 4.1 thousand stations, two wagon types give more than 1 million time series, many of them sparse.
Example from the article: experts know that crushed stone shipments will grow by 5% next month, but this is not yet visible in the daily-updated history, so a purely statistical forecast misses it.
Solution in brief
The team forecasts two numbers per series instead of one: a minimum demand (shipments the operator is contractually obliged to carry) and a maximum demand (all shipments available on the market for the operator). Models are chosen per series by cross-validation every month, a repeat at a coarser level corrects sparse series, and expert inputs enter as "business rules".
Questions this case answers
- How to forecast a bounded range of demand (committed minimum and market maximum) for over a million sparse time series that feed a planning decision
- How to inject expert knowledge about known upcoming changes into statistical forecasts before the changes appear in historical data
- How to forecast demand for a freight fleet when every client, cargo, wagon type and station pair is a separate time series?
- How to give the sales plan both the volume we are obliged to carry and the volume available on the market?
Tools and methods
- Ridge, Lasso, XGBoost, Random Forest — pool of linear and tree models; the best one is picked per time series.
- Cross-validation — monthly model selection per series.
- Hierarchical forecasting — the forecast is repeated at a coarser granularity to correct sparse low-level series.
- Business rules — structured expert inputs (for example, +5% for a cargo segment next month) that adjust the forecast.
Google or a one-time email code. No password.
