What is Mean Absolute Percentage Error (MAPE) loss?

Quick Overview

Asks what Mean Absolute Percentage Error (MAPE) is and how it behaves as a forecasting metric and training loss. Tests understanding of relative error, behavior near zero targets, asymmetric penalties and the choice of alternative error metrics.

What is Mean Absolute Percentage Error (MAPE) loss?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is Mean Absolute Percentage Error (MAPE) loss? ```hint Follow the denominator Ask what each sample's error is divided by, then trace what that does for small targets and for over-forecasts compared with under-forecasts. ``` ### What a Strong Answer Covers - The formula and what it measures - Why teams like it as a metric - What happens when targets are zero or close to zero - The asymmetry between over- and under-forecasts, and its effect when MAPE is used as a training loss - Alternative metrics and when to choose them ### Follow-up Questions - You must report a percentage error on data with many zero-sales days. What would you do? - Which single constant forecast minimizes MAPE over a set of actual values, and how does it compare with the median? - When would you pick WAPE over MASE? - The business evaluates your model on MAPE. How would you train it?

Overview: Asks what Mean Absolute Percentage Error (MAPE) is and how it behaves as a forecasting metric and training loss. Tests understanding of relative error, behavior near zero targets, asymmetric penalties and the choice of alternative error metrics.

General logo
General
Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is Mean Absolute Percentage Error (MAPE) loss?

What a Strong Answer Covers Guidance

  • The formula and what it measures
  • Why teams like it as a metric
  • What happens when targets are zero or close to zero
  • The asymmetry between over- and under-forecasts, and its effect when MAPE is used as a training loss
  • Alternative metrics and when to choose them

Follow-up Questions Guidance

  • You must report a percentage error on data with many zero-sales days. What would you do?
  • Which single constant forecast minimizes MAPE over a set of actual values, and how does it compare with the median?
  • When would you pick WAPE over MASE?
  • The business evaluates your model on MAPE. How would you train it?