Bayesian Networks and Decision Graphs
Chapter 6
Chapter 6 – p. 1/17
Bayesian Networks and Decision Graphs Chapter 6 Chapter 6 p. 1/17 - - PowerPoint PPT Presentation
Bayesian Networks and Decision Graphs Chapter 6 Chapter 6 p. 1/17 Learning probabilities from a database We have: A Bayesian network structure. A database of cases over (some of) the variables. We want: A Bayesian network model
Chapter 6 – p. 1/17
Pr Pr Ut Ut Bt Bt Cases Pr Bt Ut 1. ? pos pos 2. yes neg pos 3. yes pos ? 4. yes pos neg 5. ? neg ? P(Bt | Pr) P(Pr) P(Ut | Pr)
Chapter 6 – p. 2/17
Chapter 6 – p. 3/17
Chapter 6 – p. 3/17
θ
θ 100
i=1
θ
Chapter 6 – p. 3/17
Chapter 6 – p. 3/17
Chapter 6 – p. 4/17
Chapter 6 – p. 4/17
N
N(B=b,C=c) N
Chapter 6 – p. 4/17
N
N(B=b,C=c) N
Chapter 6 – p. 4/17
Chapter 6 – p. 5/17
54
50
54
50
N′(T1)
Chapter 6 – p. 6/17
Chapter 6 – p. 7/17
Chapter 6 – p. 7/17
Missing completely at random The probability that a value is missing is independent of both the
Missing at random The probability that a value is missing depends only on the observed val-
Non-ignorable Neither MAR nor MCAR.
Chapter 6 – p. 8/17
Chapter 6 – p. 9/17
Chapter 6 – p. 9/17
Chapter 6 – p. 9/17
Chapter 6 – p. 9/17
Chapter 6 – p. 9/17
Cases Pr Bt Ut 1. ? pos pos 2. yes neg pos 3. yes pos ? 4. yes pos neg 5. ? neg ?
Chapter 6 – p. 10/17
Cases Pr Bt Ut 1. ? pos pos 2. yes neg pos 3. yes pos ? 4. yes pos neg 5. ? neg ?
Chapter 6 – p. 10/17
5 , 1 5)
4 , 0.75 1 )
4 , 0.5 1 )
Cases Pr Bt Ut 1. ? pos pos 2. yes neg pos 3. yes pos ? 4. yes pos neg 5. ? neg ?
Chapter 6 – p. 10/17
5 , 1 5)
4 , 0.75 1 )
4 , 0.5 1 )
Cases Pr Bt Ut 1. ? pos pos 2. yes neg pos 3. yes pos ? 4. yes pos neg 5. ? neg ?
Chapter 6 – p. 10/17
5 , 1 5)
4 , 0.75 1 )
4 , 0.5 1 )
Cases Pr Bt Ut 1. ? pos pos 2. yes neg pos 3. yes pos ? 4. yes pos neg 5. ? neg ?
Chapter 6 – p. 10/17
E-step: For each variable Xi calculate the table of expected counts:
M-step: Use the expected counts as if they were actual counts:
k=1
Chapter 6 – p. 11/17
Chapter 6 – p. 12/17
Chapter 6 – p. 12/17
n , n2 n , . . . , nm n
Chapter 6 – p. 13/17
n , n2 n , . . . , nm n
Chapter 6 – p. 13/17
n , n2 n , . . . , nm n
Chapter 6 – p. 13/17
n , n2 n , . . . , nm n
Chapter 6 – p. 13/17
n , n2 n , . . . , nm n
Chapter 6 – p. 13/17
n , n2 n , . . . , nm n
n
n
n
Chapter 6 – p. 13/17
i, c′ j).
Chapter 6 – p. 14/17
21, 12 21 , 4 21 )
44 , 20 44 , 12 44 ) = (0.27, 0.46, 0.27)
3 , 1 3 , 1 3 )!!
Chapter 6 – p. 15/17
Chapter 6 – p. 16/17
i
Chapter 6 – p. 16/17
Chapter 6 – p. 17/17