我是靠谱客的博主 酷酷羽毛,最近开发中收集的这篇文章主要介绍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 Gibbs Sampling所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部