1. Conditional independence
Random variables and are independent, , if for all values. They are conditionally independent given , written , if
An equivalent form, often easier to use: . Once is known, learning tells us nothing more about .
The two notions are independent of each other:
- Two symptoms of one disease are dependent (both rise together) but independent given the disease.
- Two independent causes of one effect become dependent once the effect is observed. This is explaining away: if the site is down and we learn the server failed, a power cut becomes less likely.
Why it matters: a full joint distribution over binary variables needs numbers. Conditional independence lets us factorise the joint into small local tables. In naive Bayes, all features are assumed independent given the class, so , which needs only numbers for binary variables.