class_docstr: Binary-Class Reliability Diagram
class_docstr_tok: ["Binary-Class","Reliability","Diagram"]
docstr: add information about reliability to report
  
  Args:
      *visual_result_tuple(tuple): (visual_result_header, visual_result_dict)
         - visual_result_header(str): a header for confusion_matrix, can be split or round number.
         - visual_result_dict(dict): key-value
              - `gt` (:list of :str): ground truth class label for all samples
              - `probability` (:list of :list): 2D list (N sample * 2) to
                          present probability distribution of each sample
      notes(str,Optional): text to explain the block
code: def __init__(self, visual_result_tuple: tuple, notes=None) -> None:
      """
      add information about reliability to report
  
      Args:
          *visual_result_tuple(tuple): (visual_result_header, visual_result_dict)
             - visual_result_header(str): a header for confusion_matrix, can be split or round number.
             - visual_result_dict(dict): key-value
                  - `gt` (:list of :str): ground truth class label for all samples
                  - `probability` (:list of :list): 2D list (N sample * 2) to
                              present probability distribution of each sample
          notes(str,Optional): text to explain the block
      """
      super(BinaryClassReliabilityDiagram, self).__init__(
          visual_result_tuple, notes
      )
      self._visual_result_tuple = visual_result_tuple
      if not (notes is None):
          self._notes = notes
      else:
          self._notes = (
              "This section shows binary-class reliability "
              "diagram 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 BinaryClassReliabilityDiagram object from inherited base classes: Content with example: obj = BinaryClassReliabilityDiagram(visual_result_tuple, notes)