06 / Lesson
Bayes
Objective: Update a probability with frequencies and distinguish P(D|H) from P(H|D).
An intuition
A signal compatible with a hypothesis does not automatically confirm it: the signal may occur when the hypothesis is false. Bayes combines the prior frequency with the evidence’s discriminating strength. Updating depends on the model and data quality; it does not turn belief into certainty.
A concrete connection
Of 100 fictional parcels, 20 are damaged. An alarm flags 16 of those 20 and also 16 of the 80 intact parcels. Among 32 alarms, 16 indicate damage: P(damage|alarm)=1/2. The 80% detection rate is not the probability of damage after an alarm. When evaluating filters, the base rate matters alongside detection.
Retrieve, apply and transfer
Try your reasoning before opening the formula. Checking records the attempt only in this browser. You can try again.
Go deeper: formula and variables
P(H|D)=P(D|H)P(H)/P(D), P(D)>0
H: damage hypothesis. D: alarm. P(H): prior. P(D|H): likelihood. P(H|D): posterior. P(D): total alarm probability.
Connections and prerequisites
Study · AI · Teams