1 The Junction Tree Algorithm (Hugin algorithm) Chapter 16(17 ...
1 The Junction Tree Algorithm (Hugin algorithm) Chapter 16(17 ...
1 The Junction Tree Algorithm (Hugin algorithm) Chapter 16(17 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>The</strong>refore ψC(xC) ∝ p(xR|xS)p(xS) = p(xC).<br />
1.5 Moralization (s. <strong>16</strong>.2)<br />
= ψC(xC)<br />
φS(xS)<br />
∝ ψC(xC)<br />
p(xS)<br />
• For each node Xi connect all parents of Xi to a clique<br />
• Drop orientation of edges<br />
• For each node Xi multiply p(xi|xπi ) onto potential of a maximal clique containing πi ∪ {Xi}<br />
(choose one of possibly several such cliques).<br />
<strong>The</strong> new undirected model represents the same distribution.<br />
1.6 Introduction of evidence (s. <strong>16</strong>.3)<br />
Let H = V \ E. Assume xE is fixed (evidence).<br />
˜ψC∩H(xC∩H) def<br />
= ψC(xC∩H,xC∩E )<br />
<br />
xC<br />
This corresponds to taking a slice of the local function.<br />
Example:<br />
If E = {Y } and y = 1, we get<br />
ψ {X,Y } =<br />
˜ψY =<br />
<br />
<br />
0.12 0.08<br />
0.24 0.56<br />
0.08<br />
0.56<br />
p(xH|xE) = p(xH,xE)<br />
p(xE)<br />
<br />
=<br />
=<br />
<br />
1<br />
Z C ψC(xC∩H,xC∩E)<br />
<br />
H 1 <br />
Z C ψC(xC∩H,xC∩E)<br />
<br />
C ˜ ψC∩H(xC∩H)<br />
<br />
˜ψC∩H(xC∩H)<br />
<br />
H C<br />
<br />
Z ′<br />
= 1<br />
Z ′<br />
<br />
˜ψC∩H(xC∩H)<br />
C<br />
5<br />
(3)<br />
(4)<br />
(5)