Choose MAE, RMSE, or MAPE for Evaluating Maps Arrival Time Errors

Last updated: November 29, 2026

Quick Overview

You are comparing two arrival time models for Google Maps driving directions. Explain how MAE, RMSE, and MAPE would rank them differently and which one you would use as the primary offline metric.

Google
Machine Learning
Machine Learning Engineer
Google
November 29, 2026
Machine Learning Engineer
Technical Screen
Machine Learning
Easy

0

0

0 solved


You are comparing two arrival time models for Google Maps driving directions. Explain how MAE, RMSE, and MAPE would rank them differently and which one you would use as the primary offline metric.

ETA accuracy is a core quality signal for Google Maps, and trips range from a 3 minute errand to a 6 hour drive. The interviewer wants to see that you know what each regression metric penalizes and can match it to how users experience error.

What the Interviewer Expects
  • Defines MAE, RMSE, and MAPE and what each is sensitive to
  • Explains RMSE's emphasis on large errors and MAPE's blowup on short trips
  • Proposes relative error bucketed by trip length or a symmetric variant
  • Considers asymmetric cost of late versus early arrival
  • Suggests slicing by trip length, region, and traffic conditions
Key Topics to Cover
MAE
RMSE
MAPE
regression metrics
asymmetric loss
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
  • Users complain more when they arrive late than early. How would you encode that?
  • How do you evaluate the ETA shown before the trip versus updates during it?
  • Would you train on the same loss you evaluate with?
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

Ask what decision the metric drives (launch a new model, alert on regressions), the distribution of trip durations, and whether early and late errors are equally bad. Also confirm the ground truth: ac...

Approach
  • MAE =1n∑∣y−y^∣= \frac{1}{n}\sum |y-\hat y| is in minutes and treats every minute of error the same.
  • RMSE =1n∑(y−y^)2= \sqrt{\frac{1}{n}\sum (y-\hat y)^2} squares errors, so a few 30 minute misses dominate....

Submit Your Answer
Markdown supported