class_docstr: Class for obtaining an Accuracy Matrix for the evaluation stream
class_docstr_tok: ["Class","for","obtaining","an","Accuracy","Matrix","for","the","evaluation","stream"]
docstr: Creates the Accuracy Matrix plugin
docstr_tok: ["Creates","the","Accuracy","Matrix","plugin"]
code: def __init__(self):
      """
      Creates the Accuracy Matrix plugin
      """
      self._accuracy = Accuracy()
      super(AccuracyMatrixPluginMetric, self).__init__()
  
      self.count = 0
      self.matrix = torch.zeros((1, 1))
      self.online = False
  
      self.num_training_steps = None
  
file_path: avalanche/avalanche/evaluation/metrics/acc_matrix.py
imports: import torch
  from typing import List
  from avalanche.evaluation import PluginMetric
  from avalanche.evaluation.metric_results import MetricValue, MetricResult
  from avalanche.evaluation.metrics.accuracy import Accuracy
  from avalanche.training.templates import SupervisedTemplate
label_desc: Use image node_id 1 to create a new AccuracyMatrixPluginMetric object from inherited base classes: PluginMetric with example: obj = AccuracyMatrixPluginMetric()