问题
does someone know if there exists some implementation of LDA algorithm (no matter if library or application) for Win32 platform? Maybe in C/C++ or other language that can be compiled?
回答1:
Well, honestly I just googled LDA because I was curious of what it was, and the second hit was a C implementation of LDA. It compiles fine with gcc, though some warnings show up. I don't know if it's pure ANSI C or not, but considering that there is gcc for windows available, this shouldn't be a problem. If you have trouble compiling, ask a specific question about that.
回答2:
gensim has a very good Python implementation.
回答3:
A couple of examples:
Gibbs LDA++ library on Sourceforge
plda for a parallel implementation
As Tamás has offered, please specify the issues that you are having finding a library so that we can help you.
回答4:
The original implementation of LDA was written by David Blei and the source code (C) is still available at his website: http://www.cs.princeton.edu/~blei/topicmodeling.html as lda-c. The other implementations are for algorithms based upon LDA.
回答5:
We use DCA, written in C, scales well, has hyperparamenter optimization.
You could also consider Mallet, written in Java, widely used.
来源:https://stackoverflow.com/questions/6230696/latent-dirichlet-allocation-lda-implementation