CSCI 446: Artificial Intelligence
Bayes’ Nets
Instructors: Michele Van Dyne
[These slides were created by Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188 materials are available at http://ai.berkeley.edu.]
CSCI 446: Artificial Intelligence Bayes Nets Instructors: Michele - - PowerPoint PPT Presentation
CSCI 446: Artificial Intelligence Bayes Nets Instructors: Michele Van Dyne [These slides were created by Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188 materials are available at http://ai.berkeley.edu.] Today
[These slides were created by Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188 materials are available at http://ai.berkeley.edu.]
– George E. P. Box
variables, given evidence
simpler distributions
T W P hot sun 0.4 hot rain 0.1 cold sun 0.2 cold rain 0.3 T W P hot sun 0.3 hot rain 0.2 cold sun 0.3 cold rain 0.2 T P hot 0.5 cold 0.5 W P sun 0.6 rain 0.4
H 0.5 T 0.5 H 0.5 T 0.5 H 0.5 T 0.5
doesn't depend on whether I have a toothache:
conditionally independent, given the ghost position
B: Bottom square is red G: Ghost is in the top
P( +g ) = 0.5 P( -g ) = 0.5 P( +t | +g ) = 0.8 P( +t | -g ) = 0.4 P( +b | +g ) = 0.4 P( +b | -g ) = 0.8
P(T,B,G) = P(G) P(T|G) P(B|G)
T B G P(T,B,G)
+t +b +g 0.16 +t +b
0.16 +t
+g 0.24 +t
0.04 -t +b +g 0.04
+b
0.24
+g 0.06
0.06
big to represent explicitly
than a few variables at a time
interactions
interactions are specified
(unobserved)
(more later)
combination of parents’ values
relevant conditionals together:
Only distributions whose variables are absolutely independent can be represented by a Bayes’ net with no arcs.
h 0.5 t 0.5 h 0.5 t 0.5 h 0.5 t 0.5
+r 1/4
3/4 +r +t 3/4
1/4
+t 1/2
1/2
Burglary Earthqk Alarm John calls Mary calls B P(B) +b 0.001
0.999 E P(E) +e 0.002
0.998 B E A P(A|B,E) +b +e +a 0.95 +b +e
0.05 +b
+a 0.94 +b
0.06
+e +a 0.29
+e
0.71
+a 0.001
0.999 A J P(J|A) +a +j 0.9 +a
0.1
+j 0.05
0.95 A M P(M|A) +a +m 0.7 +a
0.3
+m 0.01
0.99
+r 1/4
3/4 +r +t 3/4
1/4
+t 1/2
1/2 +r +t 3/16 +r
1/16
+t 6/16
6/16
+t 9/16
7/16 +t +r 1/3
2/3
+r 1/7
6/7 +r +t 3/16 +r
1/16
+t 6/16
6/16
(especially if variables are missing)
conditional independence as causality
independence and influence