Latent Dirichlet Allocation (LDA) implementation

纵饮孤独 提交于 2020-01-01 07:25:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!