code: def test_transform(self):
      # create the transformation model
      model = logentropy_model.LogEntropyModel(
          self.corpus_ok, normalize=False
      )
  
      # transform one document
      doc = list(self.corpus_ok)[0]
      transformed = model[doc]
  
      expected = [
          (0, 0.3748900964125389),
          (1, 0.30730215324230725),
          (3, 1.20941755462856),
      ]
      self.assertTrue(np.allclose(transformed, expected))
  
file_path: gensim/gensim/test/test_logentropy_model.py
imports: import logging
  import unittest
  import numpy
  from gensim.corpora.mmcorpus import MmCorpus
  from gensim.models import logentropy_model
  from gensim.test.utils import datapath, get_tmpfile
label_desc: Use image node_id 4 for calling the TestLogEntropyModel obj's underlying member method code with example usage: obj.test_transform() without return types