class_docstr: Confusion matrix.
class_docstr_tok: ["Confusion","matrix","."]
code: def __init__(self):
      self.false_negatives = 0.0
      self.true_negatives = 0.0
      self.false_positives = 0.0
      self.true_positives = 0.0
  
file_path: model-analysis/tensorflow_model_analysis/metrics/multi_label_confusion_matrix_plot.py
imports: from typing import Dict, Iterable, List, Optional, NamedTuple
  import apache_beam
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.proto import config_pb2
  from tensorflow_model_analysis.proto import metrics_for_slice_pb2
label_desc: Use image node_id 1 to create a new _ConfusionMatrix object  with example: obj = _ConfusionMatrix()