From 0defcba0d964453b586bcd2dcc491a6ef0bfba23 Mon Sep 17 00:00:00 2001 From: Tomasz Oliwa Date: Fri, 17 Feb 2017 14:49:13 -0600 Subject: [PATCH] Fix hdpmodel constructor docstring for print_topics Fix hdpmodel constructor docstring for the print_topics parameter. It should be 'num_topics' to specify the number of topics. --- gensim/models/hdpmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gensim/models/hdpmodel.py b/gensim/models/hdpmodel.py index 310ddb179a..17c7a6c85d 100755 --- a/gensim/models/hdpmodel.py +++ b/gensim/models/hdpmodel.py @@ -114,7 +114,7 @@ class HdpModel(interfaces.TransformationABC, basemodel.BaseTopicModel): To print 20 topics with top 10 most probable words - >>> hdp.print_topics(show_topics=20, num_words=10) + >>> hdp.print_topics(num_topics=20, num_words=10) Model persistency is achieved through its `load`/`save` methods.