Problem
An online grocery delivery service ran a permanent non-acceptance discount, shown as a red price in the app. Every two weeks a promo manager picked the participating products by experience, retailer wishes and the state of neighboring promo shelves. Selection took hours and came with no forecast. ROI was only slightly above 1: one ruble of discount returned about one ruble of incremental GMV.
Example from the article: the team wanted to forecast, for each product at each retailer, sales at 5%, 10% and 15% discounts, to see which products return the most per ruble of discount.
Solution in brief
Train one gradient-boosting model per offer (product plus retailer) on daily sales and discount history, and use it to forecast sales under each candidate discount. Compare each forecast with the no-discount forecast to get the expected ROI. Keep the offers above an ROI threshold, each with its highest-ROI discount. Cold-start offers get a transferred model on standardized sales volumes.
Questions this case answers
- How to choose which items and discount depths to include in a promotion under a fixed budget when the incremental return of each discount is unknown
- How to forecast the demand response of one item at several candidate price cuts from its own sales history
- How to extend a per-item demand model to items or sellers with no history of price changes
- How to choose which products and discount sizes to put into a recurring promotion so that the promo budget returns more incremental GMV?
Tools and methods
- CatBoostRegressor — base per-offer sales model, chosen for accuracy and speed of training and inference
- pandas shift — turns each of the previous 14 days into a separate feature
- Iterative prediction — each next-day forecast feeds the following step
- StandardScaler (scikit-learn) — scales sales volume so a model transfers between retailers (spelled "StandartScaler" in the article)
- Store-level test with year-over-year comparison — measures the promo effect
Google or a one-time email code. No password.
