docstr: Test normalized_log_ratio_measure()
docstr_tok: ["Test","normalized_log_ratio_measure","(",")"]
code: def test_normalized_log_ratio_measure(self):
      """Test normalized_log_ratio_measure()"""
      obtained = direct_confirmation_measure.log_ratio_measure(
          self.segmentation, self.accumulator, normalize=True
      )[0]
      # Answer should be ~ -0.182321557 / -ln(1 / 5) = -0.113282753
      expected = -0.113282753
      self.assertAlmostEqual(expected, obtained)
  
      mean, std = direct_confirmation_measure.log_ratio_measure(
          self.segmentation,
          self.accumulator,
          normalize=True,
          with_std=True,
      )[0]
      self.assertAlmostEqual(expected, mean)
      self.assertEqual(0.0, std)
  
file_path: gensim/gensim/test/test_direct_confirmation.py
imports: import logging
  import unittest
  from collections import namedtuple
  from gensim.topic_coherence import direct_confirmation_measure
  from gensim.topic_coherence import text_analysis
label_desc: Use image node_id 4 for calling the TestDirectConfirmationMeasure obj's underlying member method code with example usage: obj.test_normalized_log_ratio_measure() without return types