derekgreene / dynamic-nmf

Dynamic Topic Modeling via Non-negative Matrix Factorization
Apache License 2.0
282 stars 87 forks source link

Pushing to PIP? #2

Open cschwem2er opened 8 years ago

cschwem2er commented 8 years ago

Hi,

first of all many thanks for providing the code, but also your excellent homepage to document all of your analysis on the European Parliament. Are there any plans to enable PIP install for this model? In my opinion your approach is the only valid Python option for including time in topic models. Meanwhile, the R package stm has become an enormous contribution for any social scientists working with textual data. Structuring dynamic-nmf, such that it is as easy to use as possible - e.g. like gensim, would really be awesome for workflow, teaching purposes, etc.

Best, Carsten

bhargavvader commented 8 years ago

Hello @methodds , would just like to pop in and say that gensim now has dynamic topic models implemented - in pure python, and also has the C++ port of the same. I'm also linking both the tutorial notebooks which let you know exactly how to use the same!

Python DTM.

DTM wrapper

Would also like to say that it would be quite possible to change the interface/code a bit and just make this module a part of gensim - I'm sure it would be a very welcome feature at gensim! But of course, I guess a PIP version of this would be super useful too.

Edit: Opened an issue on the gensim issues page so someone can maybe code up an implementation in gensim. :)