code: def __init__(
      self, label: List[str], confusion_matrix: List[List[float]]
  ):
      self.label = label
      self.confusion_matrix = confusion_matrix
  
file_path: contextual-ai/xai/model/evaluation/confusion_matrix.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from collections import defaultdict
  from typing import List
  import numpy
  import warnings
label_desc: Use image node_id 1 to create a new ConfusionMatrix object  with example: obj = ConfusionMatrix(label, confusion_matrix)