internalsGet Pro

Module 12 · Lesson 11 of 12Pro

A/B testing ML models

Level
Intermediate
Topic
Model evaluation and experimentation
Reading time
17 min

When you finish this page you can

  1. Split customers between two models once, by a hash of their id, and say why splitting by week or afresh each Monday fails.
  2. Explain why comparing the customers each model targeted favours the worse model.
  3. Compare two targeting models only on the customers they disagree on, logged in both arms, and size the test in Mondays.
  4. Check a test before reading it, with a split check and an A/A run on past Mondays.
  1. Hypothesis tests and p-values for ML17 min
  2. Offline and online evaluation17 min

Video lesson · coming soon

A gap of 55 customers a week

is our example online store. Its ML team works on a notebook sample of about 1 million orders from 200,000 customers, across 50,000 products. The prediction in this lesson is the score: the chance a customer places no order in the next 60 days.

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