Professional Documents
Culture Documents
Recognition
Dr. Md. Monirul Islam
CSE Dept., BUET
1
We can show:
P(D|E)=P(D)
P (Hb|HD, E, D)= P (Hb|D)
P (CP|Hb, HD, E, D)= P (CP|Hb, HD)
P (BP|CP, Hb, HD, E, D)= P (BP|HD)
However, P (HD|E,D) cannot be implified
4
Exercise:
P (CP|HD, BP, E, D)= ?
Exercise:
P (CP|HD, BP, E, D)= No simplification
Calculate P(HD=yes) ?
7
Calculate P(HD=yes) ?
P ( HD Yes ) P ( HD yes | E , D )P ( E , D )
where,
= Set of Values of Exercise(E) = {Yes, No}
= Set of Values of Diet(D) = {Healthy, Not Healthy}
8
Calculate P(HD=yes) ?
P ( HD Yes ) P ( HD yes | E , D )P ( E , D )
P ( HD yes | E , D )P ( E ) P ( D )
Calculate P(HD=yes|BP=High)?
10
Calculate P(HD=yes|BP=High)
P ( HD yes | BP High)
can be written as
11
Calculate P(HD=yes|BP=High)
P ( BP High) P ( BP high | HD ) P ( HD )
where,
= Set of Values of Heart Disease (HD) = {Yes, No}
12
Calculate P(HD=yes|BP=High)
P ( BP High) P ( BP high | HD ) P ( HD )
13
Calculate P(HD=yes|BP=High)
P ( HD yes | BP High)
0.8033
0.5185
14
16
Let
P( X | Y )
P (Y | X )
P( X )
P (Y )
P ( X | Y , Z ,W )
P (Y | X , Z ,W )
P ( X | Z ,W )
P (Y | Z ,W )
P ( BP high | HD yes)
P ( HD yes)
P ( BP high)
Similarly,
P( BP high | D Healthy, E Yes )
P( BP high | HD , D Healthy, E Yes ) P( HD | D Healthy, E Yes )
Proof:
P( BP high) P ( BP high | HD ) P ( HD )
18
0.85 0.25
0.5862
0.85 0.25 0.2 0.75
19
Class Test 1?
Syllabus
Duda:
Page 1 34 (up to component of x)
Page 56 61
Theodoridis:
Page 1 20 (before Section 2.4)
Section 2.7
Photocopies
21