code: def test_init_model():
      expecteds = (NMF, LatentDirichletAllocation, TruncatedSVD)
      models = ["nmf", "lda", "lsa"]
      for model, expected in zip(models, expecteds):
          assert isinstance(TopicModel(model).model, expected)
  
imports: import numpy
  import pytest
  from sklearn.decomposition import NMF, LatentDirichletAllocation, TruncatedSVD
  from textacy import Corpus
  from textacy import extract
  from textacy.tm import TopicModel
  from textacy.representations import Vectorizer
label_desc: Use image node_id 7 for calling a global function with example usage: test_init_model() without return types