我是靠谱客的博主 酷酷羽毛,这篇文章主要介绍Collapsed Gibbs Sampling,现在分享给大家,希望可以做个参考。

(The contents of this post are largely due to a conversation with Percy Liang at ACL.)

I’m a big fan of Gibbs sampling for Bayesian problems, just because it’s so darn easy. The standard setup for Gibbs sampling over a space of variables a,b,c (I’ll assume there are no exploitable independences) is:

Draw a conditioned on b,c
Draw b conditioned on a,c
Draw c conditioned on a,b
This is quite a simple story that, in some cases, be “improved.” For instance, it is often possible to jointly draw a and b, yielding:
Draw a,b conditioned on c
Draw c conditioned on a,b
This is the “blocked Gibbs sampler.” Another variant, that is commonly used in our community, is when one of the variables (say, b) can be analytically integrated out, yielding:
Draw a conditioned on c
Draw b conditioned on a,c
Draw c conditioned on a,b
This is the “collapsed Gibbs sampler.” In fact, we can often collapse b out entirely and, in cases where we don’t actually care about it’s value, we get:
Draw a conditioned on c
Draw c conditioned on a

最后

以上就是酷酷羽毛最近收集整理的关于Collapsed Gibbs Sampling的全部内容,更多相关Collapsed内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(41)

评论列表共有 0 条评论

立即
投稿
返回
顶部