/LDA

The Collapsed gibbs sampling estimation for Latent Dirichlet Allocation.

14.03.21 HIGASHI Koichi

The C implementation for Latent Dirichlet Allocation with collapsed gibbs sampling estimation. These codes are based on Daichi Mochihashi's C implementation (http://chasen.org/~daiti-m/dist/lda/) but using collapsed gibbs sampling methods instead of variational baysian methods. (using formulas from http://psiexp.ss.uci.edu/research/papers/sciencetopics.pdf)

The Mersenne twister are used for a pseudorandom number generator. C codes are taken from http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/CODES/mt19937ar.c