Get flash to fully experience Pearltrees
Search Browse Javadoc Search Javadoc Browse More Web Tutorials Java Source Code Display Archive: / org / apache / mahout / mahout-core / 0.3 / mahout-core-0.3-sources.jar
Gibbs sampling is a statistical technique related to Monte Carlo Markov Chain sampling. It is used to search a solution space for an optimal (or at least locally optimal solution). It is an iterative technique. Basically, a single parameter is chosen at random and the value of it is set to a random value (or one chosen from a distribution).
JGibbLDA A Java Implementation of Latent Dirichlet Allocation (LDA) using Gibbs Sampling for Parameter Estimation and Inference http://jgibblda.sourceforge.net/ Copyright © 2008 by Xuan-Hieu Phan (pxhieu at gmail dot com), Graduate School of Information Sciences,
Recently via Twitter I came across “ Gibbs Sampling for the Uninitiated ” by Philip Resnik and Eric Hardisty , a tutorial that shows how to use Gibbs sampling of a Naive Bayes model to estimate the labels on a set of documents. This paper goes through the algebra in great detail and concludes with pseudocode. Resnik and Hardisty do such a good job of making it look easy that I decided to write my own Gibbs sampler. It was, in fact, pretty easy.