How to print the LDA topics models from gensim? Python

后端 未结 10 1636
北荒
北荒 2020-12-04 13:42

Using gensim I was able to extract topics from a set of documents in LSA but how do I access the topics generated from the LDA models?

When printing the

10条回答
  •  醉梦人生
    2020-12-04 14:21

    Are you using any logging? print_topics prints to the logfile as stated in the docs.

    As @mac389 says, lda.show_topics() is the way to go to print to screen.

提交回复
热议问题