Problem
An online grocer forecasts sales for a very wide assortment to decide how much to order from suppliers. Milk is ordered several times a day, batteries weekly or less often, and forecasts are split by delivery region. Picnic forecasts bottom-up: at a fine grain first, then summed to the decision level. At fine grain, count noise is large and no model can remove it. Error metrics then look poor even for a good model and cannot be compared across products.
Example from the article: a two-week forecast for one article has a daily WAPE of 0.24, but the article is reordered once per two weeks, and the two-week WAPE is 0.03.
Solution in brief
Forecast and evaluate at the coarsest grain that still serves the decision. Measure error at the level where forecasts are used, add a baseline-relative metric (MASE family) to separate model error from noise, and check how errors behave under aggregation. Picnic moved its base model from half-day to day level and split the result back into half-days afterwards.
Questions this case answers
- How to choose the training granularity of a forecasting model when decisions use sums over a longer window than the forecast grain
- How to evaluate forecast quality when irreducible count noise dominates fine-grained error metrics
- How to judge a demand forecast when day-level error looks bad but orders cover several days?
- How to choose the time granularity at which a forecasting model is trained?
Tools and methods
- WAPE (Weighted Average Percentage Error) — error metric computed at forecast grain and at decision grain
- MASE (Mean Absolute Scaled Error) — error relative to a baseline forecast, so noise cancels
- Poisson noise estimate — expected relative noise of count data per rate
- Hierarchical reconciliation — keeps per-level models coherent
Google or a one-time email code. No password.