Professional Documents
Culture Documents
tio n to
t r odu c r y ’s
th in th e o
d r ew
in -dep nd the see An ers.
e a se ta Min
mor sifiers
Naïve Bayes
a p le a a
For s Clas them, y for D
e t
Bay unding obabili
o r
surr re on P
Classifiers
u
lect
C Z R
J Person is a Junior
C Brought Coat to Classroom
Z Live in zipcode 15213
R Saw “Return of the King” more than once
Copyright © 2004, Andrew W. Moore Slide 2
A simple Bayes Net
J What parameters are
stored in the CPTs of
this Bayes Net?
C Z R
J Person is a Junior
C Brought Coat to Classroom
Z Live in zipcode 15213
R Saw “Return of the King” more than once
Copyright © 2004, Andrew W. Moore Slide 3
A simple Bayes Net
P(J) =
J J Person is a Junior
C Brought Coat to Classroom
Z Live in zipcode 15213
R Saw “Return of the King” more
than once
C Z R
P(Z|J) = P(R|J) =
P(C|J) =
P(Z|~J)= P(R|~J)=
P(C|~J)=
2 0 p eople
a b a s e from us e
a d a t l d w e
w e have H o w cou
Suppo s e
a le c t ur e .
in t h i s CP T ?
o a tt e nded t h e v a l u es
wh s t im a te
o e
t ha t t
Copyright © 2004, Andrew W. Moore Slide 4
A simple Bayes Net
P(J) =
J J Person is a Junior
C Brought Coat to Classroom
# people who walked to school
Z Live in zipcode 15213
R# people in of
Saw “Return database
the King” more
than once
C Z R
P(Z|J) = P(R|J) =
P(C|J) =
P(C|~J)=
P(Z|~J)= Input Attributes
P(R|~J)=
P(C | J ) P(Z | J ) P( R | J ) P( J )
P(C | J ) P(Z | J ) P( R | J ) P( J )
P (C | J ) P(Z | J ) P( R | J ) P(J )
Copyright © 2004, Andrew W. Moore Slide 7
The General Case
Y
X1 X2 ... Xm