code: def test_confusion_matrix_binary_input_samples_average_disallowed(
      self,
  ):
      with self.assertRaisesRegex(
          ValueError, "Samples average is not available for Binary"
      ):
          _classification.SamplewiseConfusionMatrixAggFn(
              metrics=(), input_type=InputType.BINARY
          )
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_model_analysis.experimental.metrics.aggregates import _classification
label_desc: Use image node_id 19 for calling the ClassificationTest obj's underlying member method code with example usage: obj.test_confusion_matrix_binary_input_samples_average_disallowed() without return types