internalsGet Pro

Module 18 · Lesson 13 of 15Pro

Matching and routing: where ML meets optimization

Level
Advanced
Topic
Applied ML problems
Reading time
18 min

When you finish this page you can

  1. Explain the split in a matching system: models predict pickup time, acceptance and cancellation for each pair, and a solver chooses the assignment and the routes.
  2. Show with numbers why letting each rider take its best-scoring driver in turn loses to assigning a whole batch at once.
  3. Trace how noise and skew in predictions turn into worse assignments, and why the solver needs calibrated probabilities.
  4. Judge a model change by the outcome of the decisions it drives, using a replay simulator and then a switchback test.
  1. Design: predicting trip times like Uber28 min
  2. Case: Uber’s deep learning model for trip times17 min
  3. Calibration: probabilities you can trust17 min
  4. A/B testing ML models17 min

Video lesson · coming soon

A better model, longer waits

is our example ride app. It matches riders with nearby drivers, and runs about 1 million rides a day in 10 cities. This lesson works with the predictions that decide which driver gets which rider. The main one is the pickup time: how many minutes a driver needs to reach a rider.

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