Skip to content
Smarter Minds
Menu
← Mathematical Foundations

06 / Lesson

Bayes

Mathematics · English · Smarter Minds editorial · Reading and practice

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.

Constructed teaching examples; not field data.

Retrieve, apply and transfer

Try your reasoning before opening the formula. Checking records the attempt only in this browser. You can try again.

1. Are P(alarm|damage) and P(damage|alarm) always equal?
2. In the example, 16 of 32 alarms indicate damage. What is the posterior?
3. A filter flags 10 relevant messages and 30 irrelevant ones. Among flagged messages, what fraction is relevant?

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

Probability

Study · AI · Teams

Bibliography and provenance

Original text and examples by Smarter Minds.

View relationships and external references

What would you like to explore here?

Tell us what you want to understand, practise or create. A proposal can inform future explorations; production is not guaranteed.

Bayes

At least 15 characters. Maximum 2000.

No account or subscription. Your question and email are private to the editorial maintainer. Do not share sensitive information. They are purged on intake or maintenance access after 90 days.