code: def test_binarize(self, labels, target_class, expected):
      with self.test_session() as sess:
          result = sess.run(
              modeling.binarize(
                  np.array(labels), np.array(target_class)
              )
          )
          self.assertListEqual(result.tolist(), expected)
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tf_slim
  from deepvariant import dv_constants
  from deepvariant import dv_utils_using_clif
  from deepvariant import modeling
label_desc: Use image node_id 5 for calling the ModelingTest obj's underlying member method code with example usage: obj.test_binarize(labels, target_class, expected) without return types