Professional Documents
Culture Documents
Bayes IIIa
Bayes IIIa
Once the right topology has been found. the probability table associated
with each node is determined.
Estimating such probabilities is fairly straightforward and is
similar to the approach used by naïve Bayes classifiers.
High Blood Pressure
• Suppose we get to know that the new patient has high blood
pressure.
• What’s the probability he has heart disease under this condition?
P(hd | bp) e d h cp P(hd , e, d , h, cp, bp)
e d h cp P(hd | e, d ) P(h | d ) P(cp | hd , h) P(bp | hd ) P(e) P(d )
P(bp | hd )e P(e)d P(hd | e, d ) P(d )h P(h | d )cp P(cp | hd , h)
P(bp | hd )e P(e)d P(hd | e, d ) P(d )
P(bp | hd ) P(e)P(hd | e, d ) P(d ) P(hd | e, d ) P(d )
P(bp | hd ) P(e)P(hd | e, d ) P(d ) P(hd | e, d ) P(d )
* 0.85 * 0.7 * 0.25 * 0.25 0.45 * 0.75
* 0.85 * 0.3 * (0.55 * 0.25 0.75 * 0.75)
* 0.4165
High Blood Pressure (Cont’d)
P(hd | bp) e d h cp P(hd , e, d , h, cp, bp)
P(bp | hd )e P(e)d P(hd | e, d ) P(d )h P(h | d )cp P(cp | hd , h)