Problem
foodpanda needs to balance customer orders against the capacity of available riders in each city. To decide how much budget to spend, the team has to forecast Gross Merchandise Value (GMV) as a function of budget. Real returns diminish: past some point extra budget adds little GMV, but never reduces it. A model that misses this shape gives a wrong budget plan.
Example from the article: a linear model assumed GMV grows at a constant rate with each extra unit of budget, so it missed the tipping point that the team expected in reality.
Solution in brief
The team tested models in turn against two requirements: low error and a response curve that flattens without falling. Linear and polynomial regression broke the curve shape, trees gave stepped output, and a generalised additive model (GAM) gave a smooth, interpretable saturating curve with error below 10%. Forecasts are made daily and summed to weekly and monthly totals.
Questions this case answers
- How to model a saturating response of an outcome to a spend variable so that an optimiser can allocate the spend, when linear and polynomial fits give a constant or declining slope
- How to choose the time granularity of a forecasting model when training on aggregated data raises the error and detail is lost
- How to forecast the effect of a budget on marketplace GMV when returns diminish at high budgets?
- How to choose a regression model for a budget-to-GMV response curve that saturates and never declines?
Tools and methods
- Mean absolute percentage error (MAPE) — accuracy measure used to compare all candidate models
- Linear regression — baseline; rejected because it assumes constant GMV growth per unit of budget
- Polynomial regression — captures the tipping point but slopes down afterwards; rejected
- Decision tree and random forest — lowest error and a saturating trend, but stepped predictions; rejected
- Generalised additive model (GAM) — final choice: smooth nonlinear, interpretable, regularised
Google or a one-time email code. No password.