























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























a a^ These notes are copyrighted material and may not be used in other course settings outside of theUniversity of Iowa in their current or modified form without the express written permission of the copyrightholders.^
22c:145 Artificial Intelligence, Fall’05 – p.1/
22c:145 Artificial Intelligence, Fall’05 – p.2/
P^ (X=x^11 = x) = (^) n n ∧X=x∧···∧X=x)^22 nn P (X=x∧···∧X=x) 22 nn or P^ (X=^ x∧^ X=^ x^1 1 2
∧ · · · ∧^ X=^ x) n^ n = P (X= x| X=^ x, ..., X=^ x)P^ (X 1 1 2 2 n^ n
=^ x∧ · · · ∧^ X=^ x 2 2 n^ n ∏n = P^ (X=^ x|^ i^ i^ i=^ X=^ x, ..., X=i+1^ i+1n^
x)n Conditional Independence: If^ P^ (X=^1
x|^ X=^ x, ..., X=^1 2 2 n^
x)^ =n P^ (X=^ x|^ X=^ x^1 1 2
, ..., X=^ x)n−^1 n−^1 then we say^ X=^ x^1
is^ conditionally independent
from^ X=^ xn^ n given the evidence^ X
=^ x, ..., X=^ x 2 2 n−^1 n
.^ − 1 22c:145 Artificial Intelligence, Fall’05 – p.5/
for^ X,... , Xis a graph with^1 n^ m^ nodes such that^ there is a node for each
X,i all the edges between two nodes are directed, there are no cycles, each node has a conditional probability table (CPT), given interms of the node’s parents.The intuitive meaning of an edge from a node
Xto a node^ Xisi^ j^ that^ Xhas a direct influence oni^
X.j^
22c:145 Artificial Intelligence, Fall’05 – p.7/
Cavity Toothache^ Catch W eather^ is^ independent
from the other variables. T oothache^ and^ Catch
are^ conditionally independent given Cavity.
22c:145 Artificial Intelligence, Fall’05 – p.8/
.94^ A^ P(M)^ T.70F^. Note:^ The tables only show
P^ (X)^ here because
P^ (¬X) = 1^ −^ P^ (X).^ 22c:145 Artificial Intelligence, Fall’05 – p.10/
P(X,... , X).^1 n
2.^ The network is a collection of conditional independencestatements about
X,... , X.^1 n Interpretation 1 is helpful when
constructing belief networks
Interpretation 2 is helpful in
designing inference procedures
on top of them.
22c:145 Artificial Intelligence, Fall’05 – p.11/
∏n P^ (X=^ x|^ P arentsi^ i^ i=^
(X))i B E P(A) T T .95TFFT.29FF. P(B)^.
P(E)^. Burglary^ Earthquake^ Alarm P(J)^ A^^ T.90JohnCalls^ MaryCallsF.
.94^ A^ P(M)^ T.70F^. P^ (J^ ∧^ M^ ∧^ A^ ∧ ¬B^ ∧ ¬
0.^999 ×^0 .998 = 0.^00062 22c:145 Artificial Intelligence, Fall’05 – p.13/
{X,... , X},^2 n no node in^ {X,... , X^2
}^ is a descendant ofn
Let^ 〈x,... , x〉^ be a value assignment for^1 n
〈X,... , X〉.^1 n From the equation^ P^ (X=^ x∧ · · · ∧^ X^1
n∏= x) =^ P^ (Xn ni i= =^ x|^ P arents(X))^ i^ i
we can show that^ P^ (X=^ x|^ X=^ x^1 1
∧ · · · ∧^ X=^ x) = 2 n^ n P^ (X=^ x|^ P arents^1
(X))^1 22c:145 Artificial Intelligence, Fall’05 – p.14/
as evidence, each node in the network is conditionallyindependent from^ all the other nodes
. U Um 1... X Z Z^ 1jnj Y Yn 1...^ 22c:145 Artificial Intelligence, Fall’05 – p.16/
=^ x) =^ P^ (X=^ x n^1
|^ P arents(X)) 1 Examples:^ P^ (B^ |^ E) =^ P^ (B
Burglary^ Earthquake^ Alarm JohnCalls^ MaryCalls Exercise:^ Find all the conditional independences holding in thisnetwork.
22c:145 Artificial Intelligence, Fall’05 – p.17/
{X}that describe theii^ domain. 2. Choose an ordering^
X,... , Xof the variables.^1 n^
3.^ Start with an empty network. 4.^ For^ i^ = 1 to^ n:^ (a)^ add^ Xto the network.i^ (b)^ Select as parents of
Xnodes from^ X,... , Xi^1
such thati− 1 P(X|^ P arents(X)) =i^ i
P(X|^ X,... , Xi^1 i−^1
(c)^ Fill in the CPT for
X.i This choice of parents guarantees the network semantics:^ P(X,... , X)^ =^1 n
∏nP(X|^ X,... , Xi^1 i^ = 1^
)^ (chain rule)i− 1 ∏n = P(X|^ P arentsi^ i^ = 1^
(X))^ (by construction)i^ 22c:145 Artificial Intelligence, Fall’05 – p.18/
JohnCalls MaryCalls^ Alarm^ Burglary^ Earthquake
MaryCalls JohnCalls^ Earthquake Burglary^ Alarm “Wrong” orderings produces more complex networks.
22c:145 Artificial Intelligence, Fall’05 – p.19/