gensim.models.HdpModel.show_topics

HdpModel.show_topics(num_topics=20, num_words=20, log=False, formatted=True)[source]

Print the num_words most probable words for topics number of topics. Set topics=-1 to print all topics.

Set formatted=True to return the topics as a list of strings, or False as lists of (weight, word) pairs.