Choose a Forecast Error Metric Across SKUs With Very Different Volumes

Last updated: November 29, 2026

Quick Overview

Amazon's demand forecasts cover SKUs selling thousands of units a week and SKUs selling one. Compare MAPE, WAPE and MASE for evaluating these forecasts, and implement WAPE and MASE.

Amazon
Machine Learning
Data Scientist
Amazon
November 29, 2026
Data Scientist
Technical Screen
Machine Learning
Medium

0

0

0 solved


Amazon's demand forecasts cover SKUs selling thousands of units a week and SKUs selling one. Compare MAPE, WAPE and MASE for evaluating these forecasts, and implement WAPE and MASE.

Supply chain optimization teams care about errors in units and dollars because those drive inventory cost. Interviewers check that you know why MAPE breaks on low-volume and zero-sales items and that you can pick a metric aligned with the business.

What the Interviewer Expects
  • Explains that MAPE is undefined at zero and explodes for small actuals
  • Defines WAPE as total absolute error over total actuals
  • Defines MASE relative to a naive seasonal forecast
  • Discusses weighting by units versus revenue
  • Mentions bias (over versus under forecast) as a separate metric
Key Topics to Cover
MAPE
WAPE
MASE
forecast bias
scale-free metrics
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • Would you weight errors by units or by revenue, and why?
  • Why might an over-forecast cost more than an under-forecast for some SKUs?
  • How do you aggregate MASE across thousands of SKUs?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Clarify the decision the forecast feeds (buy quantity), the granularity (SKU-week), and whether the cost of error scales with units, revenue or storage volume....

Approach

MAPE averages ∣a−f∣/a|a - f| / a per point: undefined when actual sales are zero and huge for an item that sold 2 instead of the forecast 6, so slow movers dominate. WAPE, ∑∣a−f∣/∑a\sum |a - f| / \sum a, weights ...


Submit Your Answer
Markdown supported