Probability & Statistics for ML
Use distributions, conditional probability, likelihood and resampling to reason about data, model outputs and the uncertainty in reported results.
4 objectives 6 steps about 135 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Describe a dataset with summary statistics, correlations and exploratory plots (histograms, box plots, scatter plots) in Matplotlib or seaborn, and identify skew, outliers and class imbalance.
- Apply conditional probability and Bayes' rule to compute posterior probabilities, such as the precision of a detector on a rare class.
- Explain maximum likelihood estimation and derive how it leads to squared-error and log-loss objectives.
- Quantify uncertainty in a metric with a bootstrap confidence interval and judge whether a difference between two models is meaningful.
Lesson plan
6 steps, about 135 min · 5 of 5 lessons available so far
- Describing Data: Statistics and Plots for Spread, Shape and Imbalance Concept · 25 min
- Conditional Probability and the Base-Rate Trap Concept · 20 min
- Likelihood: Where Loss Functions Come From Concept · 25 min
- Lab: Bootstrap a Confidence Interval for a Model Metric Lab · 30 min
- Worked Example: Is Model B Really Better Than Model A? Worked example · 20 min
- Check: Reasoning Under Uncertainty Knowledge check · 8 questions
Practise it
Given predictions from two classifiers on the same test set, compute each model's F1 with a 95% bootstrap interval, run a paired bootstrap on the difference, and write a three-sentence recommendation on whether the difference justifies switching models.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.