code: def test_hdp():
      """Trains a HDP model and tests the html outputs."""
      corpus, dictionary = get_corpus_dictionary()
      hdp = HdpModel(corpus, dictionary.id2token)
  
      data = gensim_models.prepare(hdp, corpus, dictionary)
      pyLDAvis.save_html(data, "index_hdp.html")
      os.remove("index_hdp.html")
  
file_path: pyLDAvis/tests/pyLDAvis/test_gensim_models.py
imports: import os
  from gensim.models import LdaModel, HdpModel
  from gensim.corpora.dictionary import Dictionary
  import pyLDAvis
  import pyLDAvis.gensim_models
label_desc: Use image node_id 3 for calling a global function with example usage: test_hdp() without return types