Re Reaso sonin ing g unde der Un Uncerta tain inty ty: Ma Margi ginalization
- n, Co
Condi diti tion
- nal
l Prob
- b., and
d Ba Bayes
Com
- mputer Sc
Ma Margi ginalization on, Co Condi diti tion onal l Prob - - PowerPoint PPT Presentation
Re Reaso sonin ing g unde der Un Uncerta tain inty ty: Ma Margi ginalization on, Co Condi diti tion onal l Prob ob., and d Ba Bayes Com omputer Sc Science c cpsc sc322, L , Lecture 2 25 (Textbook Chpt 6.1.3.1-2) 2)
cavity toothache catch
T T T .108 T T F .012 T F T .072 T F F .008 F T T .016 F T F .064 F F T .144 F F F .576
) (
Z dom z
cavity toothache P(cavity , toothache) T T .12 T F .08 F T .08 F F .72
cavity toothache catch
T T T .108 T T F .012 T F T .072 T F F .008 F T T .016 F T F .064 F F T .144 F F F .576
) (
Y dom y
cavity catch P(cavity , catch) P(cavity , catch) P(cavity , catch) T T .12 .18 .18 T F .08 .02 .72 F T … …. …. F F … …. ….
cavity toothache catch
T T T .108 T T F .012 T F T .072 T F F .008 F T T .016 F T F .064 F F T .144 F F F .576
) (
Y dom y
cavity catch P(cavity , catch) P(cavity , catch) P(cavity , catch) T T .12 .18 .18 T F .08 .02 .72 F T … F F …
cavity toothache P(cavity , toothache) T T .12 T F .08 F T .08 F F .72 Toothache = T Toothache = F Cavity = T .12 .08 Cavity = F .08 .72
) (
Y dom y
cavity toothache catch
T T T .108 T T F .012 T F T .072 T F F .008 F T T .016 F T F .064 F F T .144 F F F .576
cavity toothache catch
T T T .108 T T F .012 T F T .072 T F F .008 F T T .016 F T F .064 F F T .144 F F F .576
F toothache w T cavity
h w e
e
h w e
cavity toothache catch
T T T .108 .54 T T F .012 .06 T F T .072 .36 T F F .008 .04 F T T .016 F T F .064 F F T .144 F F F .576
Toothache = T Toothache = F Cavity = T .12 .08 Cavity = F .08 .72 Toothache = T Toothache = F Cavity = T Cavity = F
i= 1 P(Xi | X1, … ,Xi-1)
– For example P(symptom | disease) P(light is off | status of switches and switch positions) P(alarm | fire) – In general: P(evidence e | hypothesis h)
to cause): – For example P(disease | symptom) P(status of switches | light is off and switch positions) P(fire | alarm) – In general: P(hypothesis h | evidence e)
Bayes Rule
( ) ( ) | ( e P e h P e h P
(1) ) ( ) | ( ) ( e P e h P e h P
(3) ) ( ) ( h e P e h P (3) ) ( ) ( ) | ( ) | ( e P h P h e P e h P
) ( ) ( ) | ( h P h e P h e P
(2) ) ( ) | ( ) ( h P h e P h e P
) ( ) ( ) | ( ) | ( e P h P h e P e h P
CPSC 322, Lecture 4 Slide 27