class_docstr: Abstract class for confusion matrix
  
  You shouldn't instantiate this class.
  You might instantiate ConfusionMatrix or BinaryConfusionMatrix classes
class_docstr_tok: ["Abstract","class","for","confusion","matrix","You","should","n't","instantiate","this","class",".","You","might","instantiate","ConfusionMatrix","or","BinaryConfusionMatrix","classes"]
docstr: Get confusion matrix value for a given
  actual class and a given predicted class
  
  if only one parameter is given (actual or predicted)
  we get confusion matrix value for actual=actual and predicted=actual
docstr_tok: ["Get","confusion","matrix","value","for","a","given","actual","class","and","a","given","predicted","class","if","only","one","parameter","is","given","(","actual","or","predicted",")","we","get","confusion","matrix","value","for","actual=actual","and","predicted=actual"]
code: def get(self, actual=None, predicted=None):
      """
      Get confusion matrix value for a given
      actual class and a given predicted class
  
      if only one parameter is given (actual or predicted)
      we get confusion matrix value for actual=actual and predicted=actual
      """
      if actual is None:
          actual = predicted
      if predicted is None:
          predicted = actual
      return self.to_dataframe().loc[actual, predicted]
  
imports: import numpy
  import pandas
  import collections
  import pandas_ml
  from pandas_ml.confusion_matrix.stats import binom_interval, class_agreement, prop_test
label_desc: Use image node_id 28 for calling the ConfusionMatrixAbstract obj's underlying member method code with example usage: obj.get(actual, predicted) and returns: self