Getting Same Topic Numbers Using PyLDAvis

319 views
Skip to first unread message

john.hard...@gmail.com

unread,
Apr 11, 2017, 5:07:20 PM4/11/17
to gensim
Hello,

I had heard that pyLDAvis does not display topics with the same number as they have as gensim LDA topics. Is this still true?

I also read that there is a parameter to make pyLDAvis match the topic number of gensim, but it is not clear from the documentation what this is.

Thanks

Andrew Jeavons

unread,
Apr 11, 2017, 5:16:29 PM4/11/17
to gen...@googlegroups.com
You need "sort_topics=False" on the pyLDAvis.gensim.prepare call.


Andrew

--
You received this message because you are subscribed to the Google Groups "gensim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gensim+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

john.hard...@gmail.com

unread,
Apr 11, 2017, 5:23:08 PM4/11/17
to gensim
Perfect, thank you!


On Tuesday, April 11, 2017 at 5:16:29 PM UTC-4, Andrew Jeavons wrote:
You need "sort_topics=False" on the pyLDAvis.gensim.prepare call.


Andrew
On Tue, Apr 11, 2017 at 5:07 PM, <john.hard...@gmail.com> wrote:
Hello,

I had heard that pyLDAvis does not display topics with the same number as they have as gensim LDA topics. Is this still true?

I also read that there is a parameter to make pyLDAvis match the topic number of gensim, but it is not clear from the documentation what this is.

Thanks

--
You received this message because you are subscribed to the Google Groups "gensim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gensim+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages