12.07.2015 Views

approximate inference - Caltech

approximate inference - Caltech

approximate inference - Caltech

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Gibbs sampling ! Start with ini)al assignment x (0) to all variables ! For t = 1 to ∞ do ! Set x (t) = x (t-­‐1) ! For each variable X i ! Set v i = values of all x (t) except x i ! Sample x (t) i from P(X i | v i ) ! For large enough t, sampling distribu)on will be “close” to true posterior distribu)on! ! Key challenge: Compu)ng condi)onal distribu)ons P(X i | v i ) 31

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

Saved successfully!

Ooh no, something went wrong!