internalsGet Pro

Module 01 · Lesson 10 of 10Pro

Design: predicting trip times like Uber

Level
Intermediate
Topic
Machine learning fundamentals
Reading time
28 min

When you finish this page you can

  1. Turn “show riders how long the trip takes” into a label, a metric and a baseline, and say which error the booking screen should minimise.
  2. Build a lookup-table baseline first, and decide from the numbers when a trained model is worth adding.
  3. Find a leaked feature and a random split that make offline scores lie, and fix both with point-in-time features and a split by time.
  4. Design the serving path, fallback, logging and monitoring that keep a trip-time model useful after launch.

Builds on 5 lessons

Start with lesson 412 min
  1. The ML lifecycle: from problem to production12 min
  2. When not to use machine learning12 min
  3. Framing a business problem as an ML problem14 min
  4. Baselines: the simple model to beat13 min
  5. Data, features and labels14 min

The app said 32 minutes. The ride took 51.

is our example ride app. It matches riders with nearby drivers, and runs about 1 million rides a day in 10 cities. Before a rider books, the screen shows how long the ride will take. This lesson works with that one prediction: the trip time, from pickup to drop-off.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan