---
title: For food-delivery ETAs, compare MAE, RMSE, MAPE and quantile (pinball) loss. Late arrivals hurt more than early ones…
url: https://gurkanozkan.ai/learn/questions/mle-loss-and-metric-choice-for-eta-prediction-26/
markdown: https://gurkanozkan.ai/learn/questions/mle-loss-and-metric-choice-for-eta-prediction-26.md
kind: question
role: ML engineering
stage: Technical
difficulty: Medium
json: https://gurkanozkan.ai/api/learn/questions/mle-loss-and-metric-choice-for-eta-prediction-26.json
robots: noindex
---

# For food-delivery ETAs, compare MAE, RMSE, MAPE and quantile (pinball) loss. Late arrivals hurt more than early ones; how do you reflect that?

ML engineering · Technical · Medium

## Answer

*Model answer, written in a candidate's voice*

### In short

- MAE is robust and targets the median; RMSE targets the mean and punishes large misses; MAPE is unstable for short trips because the denominator is tiny.
- Quantile/pinball loss gives P50/P80/P90; tau above 0.5 penalises actuals later than the prediction more than actuals earlier.
- Reflect late>early by optimising a high quantile or asymmetric loss and showing a range, not a single point.
- Business metrics: % of orders late by more than X minutes and interval calibration/coverage.
- Slice by distance, time of day and restaurant; short trips and peak hours need separate checks.

### In full

The core point is that a single ETA is the wrong target: MAE is robust and estimates the median, RMSE estimates the mean and is pulled by large misses, and MAPE is unstable for short trips because dividing by a tiny actual time explodes the error. I would train quantile models and report P50/P80/P90 rather than one number, because pinball loss with tau above 0.5 penalises actuals later than the prediction more than actuals earlier, which is exactly the asymmetry we care about. In practice that means biasing the displayed ETA towards the later side, for example an 80th/90th percentile, while keeping P50 as the central estimate. I would judge it by business outcomes—% of orders late by more than X minutes and whether the interval is calibrated, roughly matching its stated coverage—not by MAE alone. I would slice all of this by distance, time of day and restaurant, since short trips, peak hours and slow kitchens can look fine on average but fail where it matters.

*Corrected by an independent AI reviewer.*

## What a strong answer covers

- MAE predicts the median and is robust; RMSE predicts the mean and penalises large errors; MAPE is unstable for short trips.
- Quantile loss gives P50/P80/P90; show a range or bias towards a higher quantile.
- Business metrics: % of orders late by more than X minutes, calibration of the interval.
- Slice by distance, time of day and restaurant.

## Common mistakes

- a single global MAE with no slices
- optimising MAPE with near-zero targets.

## Topic guides

- [Classical machine learning](https://gurkanozkan.ai/learn/topics/classical-ml.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
