您的位置:首页 > Web前端

Topic Model Gibbs Sampling Inference 步骤

2014-12-30 21:09 711 查看
1. difference between hidden variables and hyperparameter

2. procudre

step 1: the complete-data likelihood, given hyperparameter

p(w, z, theta, pi | alpha, beta)

step 2: the observed data
likelihood, given hidden variables

p(w | theta, pi)

step 3: determine which hidden variable can be integrated out, i.e. collapsed out.

theta, pi can be integrated out, thus the gibbs sampler is for p(z|w)

step 4: apply bayesian methods for
full conditional distribution p(z_i|, z_-i, w)

p(z_i| z_-i, w) = p(z,w)/{integrate z_i, p(z,w)}

step 5: based on the equation above, we need to calculate the
joint distribution of p(z,w)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: