Showing posts with label source code. Show all posts
Showing posts with label source code. Show all posts

Monday, August 31, 2009

A Matlab demo of collapsed Gibbs sampling for learning LDA

The equations of the conditional posterior is based on the technical note by Yi Wang,
"Gibbs Sampling and Latent Diriclet Allocation: The Gritty Details"

I have summarized a step-by-step illustration of the derivation of this method in a previous post:
A step-by-step deriviation of collapsed Gibbs sampling of LDA

The codes can be downloaded from my SkyDrive