evaluate_forecast
Backtest SKU demand forecasts by holding out recent days, forecasting from history, and scoring with scale-free MASE for comparable accuracy across SKUs.
Instructions
Backtest a SKU's forecast: hold out the last test_size days, forecast
them from the remaining history, and score with MASE (scale-free, so
it's comparable across SKUs with very different demand volumes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_size | No | number of most-recent days to hold out for testing (default 14). | |
| unique_id | Yes | SKU identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||