internalsGet Pro

Module 05 · Lesson 10 of 14Pro

Uncertainty in estimates: confidence intervals

Level
Intermediate
Topic
Probability and statistics for machine learning
Reading time
16 min

When you finish this page you can

  1. Compute a standard error and a 95% confidence interval for a rate measured on a sample, by hand and in NumPy.
  2. Say what the 95% in a confidence interval promises, and what it doesn’t.
  3. Put an interval on the difference between two rates and decide whether a measured gain could be zero.
  4. Choose between the simple formula, the Wilson interval and the bootstrap for a given metric and sample size.

Builds on 3 lessons

Start with lesson 313 min
  1. Random variables and distributions13 min
  2. Expected value, variance and spread13 min
  3. Sampling and the central limit theorem16 min

Joseph wants to scale up a 20-customer gain

is our example online store. Farah, an ML engineer, owns its model: every Monday it picks the 20,000 customers most likely to stop buying, and Joseph’s growth team sends each one a ₹100 voucher.

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