class_docstr: Helper class for :class:`gensim.models.hdpmodel.HdpModel` to format the output of topics.
class_docstr_tok: ["Helper","class","for",":","class",":","`","gensim.models.hdpmodel.HdpModel","`","to","format","the","output","of","topics","."]
docstr: Give the most probable `num_words` words from `num_topics` topics.
  Alias for :meth:`~gensim.models.hdpmodel.HdpTopicFormatter.show_topics`.
  
  Parameters
  ----------
  num_topics : int, optional
      Top `num_topics` to be printed.
  num_words : int, optional
      Top `num_words` most probable words to be printed from each topic.
  
  Returns
  -------
  list of (str, numpy.float) **or** list of str
      Output format for `num_words` words from `num_topics` topics depends on the value of `self.style` attribute.
code: def print_topics(self, num_topics=10, num_words=10):
      """Give the most probable `num_words` words from `num_topics` topics.
      Alias for :meth:`~gensim.models.hdpmodel.HdpTopicFormatter.show_topics`.
  
      Parameters
      ----------
      num_topics : int, optional
          Top `num_topics` to be printed.
      num_words : int, optional
          Top `num_words` most probable words to be printed from each topic.
  
      Returns
      -------
      list of (str, numpy.float) **or** list of str
          Output format for `num_words` words from `num_topics` topics depends on the value of `self.style` attribute.
  
      """
      return self.show_topics(num_topics, num_words, True)
  
imports: import logging
  import time
  import warnings
  import numpy
  from scipy.special import gammaln, psi
  from gensim import interfaces, utils, matutils
  from gensim.matutils import dirichlet_expectation, mean_absolute_difference
  from gensim.models import basemodel, ldamodel
  from gensim.utils import deprecated
label_desc: Use image node_id 2 for calling the HdpTopicFormatter obj's underlying member method code with example usage: obj.print_topics(num_topics, num_words) and returns: self