code: def test_confusion_matrix_binary_average_invalid_input(self):
      y_pred = ["dog", "cat", "cat", "bird", "tiger"]
      y_true = ["dog", "cat", "bird", "cat", "tiger"]
      confusion_matrix = _classification.ConfusionMatrixAggFn(
          input_type=InputType.MULTICLASS_MULTIOUTPUT,
          average=AverageType.BINARY,
      )
      with self.assertRaisesRegex(ValueError, "input is not supported"):
          confusion_matrix(y_true, y_pred)
  
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 15 for calling the ClassificationTest obj's underlying member method code with example usage: obj.test_confusion_matrix_binary_average_invalid_input() without return types