Skip to content

Commit

Permalink
Fix hdpmodel constructor docstring for print_topics (#1152)
Browse files Browse the repository at this point in the history
Fix hdpmodel constructor docstring for the
print_topics parameter. It should be 'num_topics'
to specify the number of topics.
  • Loading branch information
Tomasz Oliwa authored and tmylk committed Feb 22, 2017
1 parent 128f8c8 commit 78f2bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/hdpmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 78f2bd4

Please sign in to comment.