Understanding the topic significance of LDA

40 views
Skip to first unread message

H Y

unread,
Feb 12, 2021, 11:01:09 PM2/12/21
to Gensim
Hi there, 

I noticed that the print_topics() of LDA models says "Get the most significant topics" and "The number of topics to be selected, if -1 - all topics will be in result (ordered by significance)" in the documentation https://radimrehurek.com/gensim/models/ldamodel.html

However, I failed to identify the logic behind it. May I know what mechanisms are utilised to calculate the topic-level significance? 

Much appreciated :)

Regards,
H Y

Radim Řehůřek

unread,
Feb 16, 2021, 8:12:08 AM2/16/21
to Gensim
Hi H Y,

the LDA topics are ordered by alpha, the per-topic LDA hyperparameter (stored as model.alpha).

Hope that helps,
Radim

H Y

unread,
Feb 16, 2021, 8:25:19 PM2/16/21
to gen...@googlegroups.com
Hi Radim,

Thanks for the reply. That's great to know!

Best regards,
Hang


--
You received this message because you are subscribed to a topic in the Google Groups "Gensim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gensim/6X0jjHSesNI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gensim+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gensim/06917861-1bba-4eab-9744-a58064ab9de2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages