code: def test_pandas_confusion_matrix_auto_binary(self):
      y_true = [
          True,
          True,
          False,
          False,
          False,
          True,
          False,
          True,
          True,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          True,
          True,
          True,
          True,
          False,
          False,
          False,
          True,
          False,
          True,
          False,
          False,
          False,
          False,
          True,
          True,
          False,
          False,
          False,
          True,
          True,
          True,
          True,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          True,
          False,
          True,
          False,
          True,
          True,
          True,
          False,
          False,
          True,
          False,
          True,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          True,
          True,
          True,
          True,
          False,
          False,
          True,
          False,
          True,
          True,
          False,
          True,
          False,
          True,
          False,
          False,
          True,
          True,
          False,
          False,
          True,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          True,
          False,
      ]
  
      y_pred = [
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          True,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          True,
          True,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
          True,
          False,
          False,
          False,
          False,
          True,
          False,
          True,
          True,
          False,
          False,
          False,
          True,
          False,
          False,
          True,
          True,
          False,
          False,
          True,
          True,
          False,
          False,
          False,
          False,
          False,
          False,
          True,
          False,
          False,
      ]
  
      cm = ConfusionMatrix(y_true, y_pred)
      assert isinstance(cm, pdml.confusion_matrix.BinaryConfusionMatrix)
  
imports: import pytest
  import matplotlib
  import numpy
  import pandas
  import pandas_ml.util.testing
  import pandas_ml
  from pandas_ml import ConfusionMatrix
  from collections import OrderedDict
label_desc: Use image node_id 16 for calling the TestConfusionMatrix obj's underlying member method code with example usage: obj.test_pandas_confusion_matrix_auto_binary() without return types