The forecast says one quantity for next week and the buyer orders another, because the supplier is unreliable and the shelf looked empty on Friday. No model closes that gap on its own. Forecasting only helps once the decision it feeds is named, and that is where most retail projects should start.
Start with one decision
Choose the decision, not the domain: which SKUs to reorder on Monday, or which slow movers to discount before the season ends. A single decision with a weekly cadence and a visible cost can be evaluated, and it produces a result in weeks rather than quarters.
The baseline is the current rule
Most retailers already run a rule — reorder at a fixed threshold, or when the shelf looks empty. Measure it over the same period as the model. A forecast that beats a moving average by three percent may not carry the system; one that beats the rule the buyer actually uses by twenty might.
- Separate the held-out period before looking at anything
- Handle promotions explicitly, or the model learns them as noise
- Check stockout days: a zero-sale day is not zero demand
Price the two errors differently
Overstock costs margin and shelf space; understock costs the sale and sometimes the customer. A single accuracy figure treats those as equal. Ask for results at the thresholds that correspond to each cost, and pick the operating point on purpose.
What a first month looks like
The work starts with a history export and a conversation with the buyer about which decisions repeat. Expect a week of cleaning before any modelling: stockout days flagged, promotions listed, the seasonal pattern drawn on one page. The first comparison is the model against the existing rule over the same weeks, reported at the threshold the buyer acts on. If the model wins only on average cases and loses on the fast movers, that is the finding, and it is worth more than a headline percentage.
The shelf is not the dataset
Retail data looks complete and is not. A zero-sale day is usually a stockout, and a promotion is a spike the model will happily learn as a new normal. Both distortions stay invisible unless someone who runs the shop is asked.
Before any modelling, label the stockout days and the promotions. Dull work, about a week, and it changes the result more than a different model will.
One decision, one cadence
Pick the decision that repeats weekly and has a visible cost: which lines to reorder, or which slow movers to discount. One decision produces a result in weeks rather than quarters, and gives the buyer something to compare against the rule they already use.
Report at the threshold the buyer acts on, not at the mean. Overstock and understock cost different things, and one accuracy figure treats them as equal.
New lines
Ask how the system handles a product that has never been sold before. New lines are where forecasts fail most expensively, and the answer shows whether the design has met a real catalogue.
Put the model and the current rule on the same chart for the same twelve weeks, at the threshold the buyer actually orders at. One picture settles an argument that a percentage cannot.
Flag the stockout days and list last year’s promotions before any modelling, because both will otherwise be learned as real demand.
Questions this answers
How much history is needed?
Can this work with spreadsheets?
- AI for retail
- Demand and inspection in retail operations.
- KRIP Vision
- Shelf and stock inspection.
- Is your problem ready for AI?
- The five questions before a forecast.
Written by the team at Krip Artificial Intelligence Tech. If something here is wrong, write to info@kripaitech.com.np and it will be corrected with the date noted.
Talk through your case