Completed synthetic studyProject files
INVENTORY INTELLIGENCE / CASE STUDY

Python Analytics

Three demand forecasts evaluated on unseen dates.

Completed synthetic-data analysis · Executed Python and local SQLite. No actual Home Depot records, live PostgreSQL connection, or native Power BI report.

Chronological evaluation

Training: 2026-01-01 to 2026-02-09 (40 days). Test: 2026-02-10 to 2026-03-01 (20 days). Each model forecasts all 90 store-product series from a fixed origin, with 1,800 test observations. No future data updates the forecast, no test-period tuning is performed, and the target is uncensored generated demand, not fulfilled sales.

20-day held-out forecast scores · synthetic demand
MethodMAE (units)RMSE (units)WAPEBias (units)
Seasonal naive2.3963.15246.39%-0.067
Trailing 14-day mean1.9142.53537.06%-0.04
Exponential smoothing1.972.57938.15%0.102

The trailing 14-day mean has the lowest error here: WAPE 37.06% versus 46.39% for weekly seasonal naive. Exponential smoothing fixes alpha at 0.3. Positive bias means overforecasting. This holdout ranking is not an independent final validation of a selected model.

Limits of the forecasting evidence

A 60-day generated dataset cannot establish annual seasonality, promotional uplift, or real customer behavior. The generator contains Poisson demand, weekend multipliers, store multipliers and a small garden-demand step. Longer real history, promotion and weather covariates, stockout censoring, and rolling-origin evaluation are needed for operational deployment.