SLIDE 1 Lecture
17 : Sum
- Product
Ruiyang Elizabeth : , , Released Homework 4 yesterday : Apr - - PowerPoint PPT Presentation
Product Lecture Algorithm Sum 17 : - Yaoshen Scribes Ruiyang Elizabeth : , , Released Homework 4 yesterday : Apr 13 Fri Due Today Variables Marginal Discrete Exact over : Goal Marginal form Compute of the :
P(×i=×ii×j=×i
) = ×§µ= , ;,µ ,.PK '=× ' ,÷
lj=x ;)Example
: Markov Chain Idea : Rearrange Terms in Sum Pla , b , c , d ) = pc al b) pcblcspccld ) pcd ) B C D pca ) = [ [ [ pc a ,b , c. d) Naive : ABCD b= . CI D= ) yd( C) BExample
: Markov Chain pc as=b¥
, § , a£ .,p( aiblplbk
)p( cld ) ABCD B B = [ pcaib )KLB
) = { pcbi c)yd ( c 3Jdc
4 = [ p ( c i d) pcd ) =L D= , BC Cost : CD Question : What is the Computational Complexityµa÷
pea , b. c ) = f. 1 a. b) fzlb ,c ) § . , fzl c. d) fuld ) pca , b ) = f. ( a. b) § , fzlb ,c ) µd→< ( a )←
→ b 1 b )µk→alal=
{ fald ,e ) µe→ facet µd→f . ( d ) t µfs→d( d) µ fy → d ( d) Messages : Factor as Variable . ~gene
(f) \{ x } 5 Variable → Factor : µ×→f I × ) = M 9 E ' he ( × ) \ { f } µ9→x K ) ( Product )4 ss
< srd
< s s s pkl a M µt→×l× )f
fehecx ) Algorithm : Compute All Messages 1 . Pich any variable x z , Compute incoming messages 3 Compute.
fz → b ( b )µn+→f↳,lht=H
= µg+→h+lht=h\µf+→h+lht=h ) = Mgeshtlhteh ){
ft ( h ,l ) µh+ .,→f+( heel ) pcht.hlht.pl ) = Ahl de , I b ){
fell ,h ) µh++,→f+ll ) t " ={
fell .h ) µgt+,sh++ , 4 )µft+,→ht+ , " ) Ahl p(✓t+ , lhtnol ) Bttill )§
Ahe pi✓t+,lht*=l)P++,ll ) ltctl 1<2 it Marginal s ytlh ) a 0+14 Ptlh ) = µf+ . ,→h+l↳µgµhd↳µfphd "