class_docstr: Confusion Matrix
class_docstr_tok: ["Confusion","Matrix"]
docstr: add information about confusion matrix to report
  
  Args:
      confusion_matrix_tuple(tuple): (confusion_matrix_header,
      confusion_matrix_dict)
          - confusion_matrix_header(str): a header for confusion_matrix,
                                      can be split or round number.
          - confusion_matrix_dict(dict):
              - `labels`(:list of :str): label of classes
              - `values`(:list of :list): 2D list for confusion matrix value,
                                  row for predicted, column for true.
      notes(str): text to explain the block
code: def __init__(self, confusion_matrix_tuple: tuple, notes=None) -> None:
      """
      add information about confusion matrix to report
  
      Args:
          confusion_matrix_tuple(tuple): (confusion_matrix_header,
          confusion_matrix_dict)
              - confusion_matrix_header(str): a header for confusion_matrix,
                                          can be split or round number.
              - confusion_matrix_dict(dict):
                  - `labels`(:list of :str): label of classes
                  - `values`(:list of :list): 2D list for confusion matrix value,
                                      row for predicted, column for true.
          notes(str): text to explain the block
      """
      super(ConfusionMatrixResult, self).__init__(
          confusion_matrix_tuple, notes
      )
      self._confusion_matrix_tuple = confusion_matrix_tuple
      if not (notes is None):
          self._notes = notes
      else:
          self._notes = "This section shows confusion matrix result."
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from xai.formatter.contents.base import Content
  from xai.formatter.writer.base import Writer
label_desc: Use image node_id 1 to create a new ConfusionMatrixResult object from inherited base classes: Content with example: obj = ConfusionMatrixResult(confusion_matrix_tuple, notes)