class_docstr: Binary confusion matrix class
code: def __init__(self, *args, **kwargs):
      # super(BinaryConfusionMatrix, self).__init__(y_true, y_pred)
      super(BinaryConfusionMatrix, self).__init__(*args, **kwargs)
      assert self.len() == 2, (
          "Binary confusion matrix must have len=2 but \
  len=%d because y_true.unique()=%s y_pred.unique()=%s"
          % (self.len(), self.y_true().unique(), self.y_pred().unique())
      )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import math
  import numpy
  import pandas
  import collections
  from pandas_ml.confusion_matrix.abstract import ConfusionMatrixAbstract
label_desc: Use image node_id 1 to create a new BinaryConfusionMatrix object from inherited base classes: ConfusionMatrixAbstract with example: obj = BinaryConfusionMatrix()