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.
| Method | MAE (units) | RMSE (units) | WAPE | Bias (units) |
|---|---|---|---|---|
| Seasonal naive | 2.396 | 3.152 | 46.39% | -0.067 |
| Trailing 14-day mean | 1.914 | 2.535 | 37.06% | -0.04 |
| Exponential smoothing | 1.97 | 2.579 | 38.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.