I tried to learn how Gibbs sampling works on Mixture models by studying David Blei's notes:


In the equation 28:

$p(z_i = k| z_{-i},x)\propto p(z_i=k)p(x_i|z_{-i},x_{-i},z_i=k)$

I am not sure what is the denominator on the right hand side here. Could you please help me ? Thanks a lot.


The denominator is $$\sum_{k} p(z_i = k) p(x_i|z_{-i}, x_{-i}, z_i = k) $$


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.