Lesson 12 of 13 8 min · 118 words
Conditional probability
Probability of an event given that another has happened.
The conditional probability of given is for . It restricts the world to cases where happened and asks how often also happens there.
Rearranging gives the product rule , and summing over a partition gives the law of total probability: .
Supervised classifiers are, at heart, models of a conditional distribution : the probability of each label given the features.
Formula to remember
Euclidean distance
Slides
Straight-line distance (L2).
Quick check · +5 XP