LDA and pLSA (preferably for Python)

What packages for pLSA (probabilistic latent semantic analysis) and LDA (allocation of hidden Dirichlet distribution) do you recommend for Python? Java and C ++ are fine too, but Python prefers. Your experience is much appreciated.

There are many libraries, so I do not know what to choose.

+4
source share
2 answers

Gensim seems the most popular. This is on PyPI , so you can just install it with

sudo easy_install gensim 
+13
source

In python there is a good implementation of the LDA example, which can be found here: http://www.cs.princeton.edu/~blei/topicmodeling.html , and a link to tarball is here: http: //www.cs.princeton. edu / ~ blei / downloads / onlineldavb.tar

This is not a library, but an implementation example that automatically uploads articles to Wikipedia and launches LDA. But I found this very useful as a reference for implementing my own LDA code.

+1
source

All Articles