Example report 23 · Retail · Time Series
Order the right amount of stock
Forecast product demand far enough ahead to inform purchasing.
Recommended by Impulse AI
Impulse AI result
Selected model: Impulse AI custom model
Standard algorithms and custom models are candidates within the Impulse AI workflow—not competing services.
- Illustrative test result · MAE
- 31.8 items
Support ordering discussions while balancing stockouts and overstock.
- Records
- 6,240 fictional product-months
- Training / test
- 4,992 / 1,248
- Metric
- MAE · lower is better
- Models evaluated
- 8
01The business question
Forecast product demand far enough ahead to inform purchasing.
Each record represents one product-month. The target to predict is monthly_units.
What you would do with it
Support ordering discussions while balancing stockouts and overstock.
02The input data
- recent_unitsinput
- price_indexinput
- promotion_daysinput
- stockout_daysinput
- season_indexinput
- store_countinput
- monthly_unitstarget
Chronological 80/20 split; all lagged inputs precede the forecast cutoff.
03Models evaluated
This illustrative recommendation represents model selection on training/validation data. The separate test scores below show how the candidates compare; a real workflow must not use its final test set to choose a model. Lower is better for MAE.
| Candidate model | Test MAE (illustrative) |
|---|---|
| Impulse AI custom modelSelected by Impulse AI | 31.8 items |
| XGBoost | 37.21 items |
| CatBoost | 40.54 items |
| LightGBM | 43.88 items |
| ETS | 47.22 items |
| ARIMA | 50.56 items |
| Last value | 53.9 items |
| Seasonal naivebaseline | 57.24 items |
04Practical takeaway
In this fictional report, Impulse AI selects Impulse AI custom model, with an illustrative test result of 31.8 items, compared with 57.24 items for the Seasonal naive baseline. Impulse AI’s role is to evaluate candidates and deliver the selected model, whether it uses a standard algorithm or a custom model. The prediction supports one decision: support ordering discussions while balancing stockouts and overstock.
05Limitations
- Hold out later months, not random rows. Observed sales during stockouts understate true demand.
- All rows and scores are invented for illustration; a real table would need its own evaluation.
- A single test split gives one estimate; scores on new data will vary.
06Source of inspiration
Zindi · Closed October 14, 2022
Fossil Top 5 Challenge(opens in new tab)The linked sources inspired this fictional problem; the report may simplify or adapt the original task. No source datasets were downloaded or evaluated, and no competition results were copied.
07Exploratory data profile
A compact illustrative profile of the 6 inputs, not the full checks a real engine run performs. 149 missing values appear across the table. All ranges are fictional.
| Column | Type | Valid | Missing | Missing % | Unique | Mean | Std dev | Min | 25% | Median | 75% | Max | Zeros % |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| recent_units | Numeric | 6,240 | 0 | 0.0% | 106 | 26 | 17.333 | 0 | 13 | 26 | 39 | 208 | 1.0% |
| price_index | Numeric | 6,240 | 0 | 0.0% | 227 | 112 | 21.333 | 80 | 96 | 112 | 128 | 160 | 0.0% |
| promotion_days | Numeric | 6,128 | 112 | 1.8% | 348 | 50 | 33.333 | 0 | 25 | 50 | 75 | 368 | 4.0% |
| stockout_days | Numeric | 6,240 | 0 | 0.0% | 469 | 62 | 41.333 | 0 | 31 | 62 | 93 | 448 | 1.0% |
| season_index | Numeric | 6,203 | 37 | 0.6% | 590 | 74 | 49.333 | 0 | 37 | 74 | 111 | 528 | 2.5% |
| store_count | Numeric | 6,240 | 0 | 0.0% | 609 | 86 | 57.333 | 0 | 43 | 86 | 129 | 608 | 4.0% |
08Use your model
Download model
Take a reusable model package to run predictions in your own environment.
Host for inference
Have Impulse AI host your model so you can send new data for predictions.
Related reports
- Energy & utilitiesTime Series
Forecast a building’s electricity demand
How much electricity will a property need over the next day?
predicts next_day_kwh
Open report - AviationTime Series
Forecast airport arrival volumes
Estimate arriving flights for an upcoming operational window.
predicts arriving_flights
Open report - TelecommunicationsTime Series
Forecast telecom service revenue
What monthly service revenue should finance plan for?
predicts monthly_revenue
Open report