AI Primer

Probability · Module 5

Conditional probability + Bayes’ rule

The single most important idea in modern AI is updating beliefs in light of evidence.

Conditional probability

P(A | B) reads “the probability of A, given that B has happened.”

Example: P(rain | dark clouds) is much higher than P(rain).

Conditioning on evidence is how all modern AI thinks.

Bayes’ rule

P(A | B) = P(B | A) · P(A) / P(B)

In plain English: your belief in A after seeing B equals your prior belief in A, scaled by how well A explains B.

Every learning system you will hear about is a Bayes-rule descendant.

Bayesian update from prior belief through evidence to posterior belief
Draft for editor review: Bayesian update as prior belief revised by evidence.

Bayesian update check

0 of 3 questions completed locally.

1. What does P(A | B) ask for?

Answer feedback appears here.

2. A posterior belief is the belief after evidence has been incorporated.

Answer feedback appears here.

3. In one phrase, what role does evidence play in Bayes’ rule?

Answer feedback appears here.

Reader progress is stored locally in this browser.

Source slide 6