12.07.2015 Views

approximate inference - Caltech

approximate inference - Caltech

approximate inference - Caltech

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Variable elimina)on algorithm ! Given BN and Query P(X | E=e) ! Choose an ordering of X 1 ,…,X n ! Set up ini)al factors: f i = P(X i | Pa i ) ! For i =1:n, X i ∉ {X,E} ! Collect all factors f that include X i ! Generate new factor by marginalizing out X i ! Add g to set of factors ! Renormalize P(x,e) to get P(x | e) 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!