class_docstr: Evaluator is used to check parameter correctness, and summarize the results of all metrics.
code: def __init__(self, config):
      self.config = config
      self.metrics = [
          metric.lower() for metric in self.config["metrics"]
      ]
      self.metric_class = {}
  
      for metric in self.metrics:
          self.metric_class[metric] = metrics_dict[metric](self.config)
  
imports: from recbole.evaluator.register import metrics_dict
  from recbole.evaluator.collector import DataStruct
  from collections import OrderedDict
label_desc: Use image node_id 1 to create a new Evaluator object from inherited base classes: object with example: obj = Evaluator(config)