Choosing Offline Metrics for an Uber ETA Prediction Model
Last updated: November 29, 2026
Quick Overview
You are evaluating a new model that predicts trip ETA at request time. Which offline metrics would you report, and how would you decide whether it is better than the current model?
Uber
November 29, 20260
0
0 solved
You are evaluating a new model that predicts trip ETA at request time. Which offline metrics would you report, and how would you decide whether it is better than the current model?
ETA is shown to every rider before they request, and it feeds pricing, dispatch and Eats delivery promises, so Uber ML interviews often start here. The interviewer checks whether you tie the metric to the business cost of errors rather than defaulting to RMSE.
What the Interviewer Expects
- Pick a primary metric that matches how errors hurt (for example MAE or a quantile loss)
- Discuss asymmetric costs of under versus over prediction
- Slice metrics by city, trip length and time of day
- Use a time-based holdout instead of a random split
- Connect offline wins to an online experiment
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you evaluate a model that outputs a prediction interval instead of a point?
- Why might relative error matter more for short trips?
- What if the new model wins on average but loses badly in one city?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Confirm what the ETA is used for. A rider-facing pickup or trip ETA is a promise: being late annoys riders more than being early, and Eats delivery promises feed refunds. Also ask whether the target i...
Approach
Report a small set of metrics, each with a reason:
- MAE in seconds as the headline: easy to explain, robust to a few GPS-glitch trips.
- Mean absolute percentage error or error bucketed by t...