class_docstr: Class for averaging key evaluations.
  
  Parameters
  ----------
  eval_objects : list
      Key evaluation objects.
  name : str, optional
      Name to be displayed.
code: def __init__(self, eval_objects, name=None):
      self.name = name or "mean for {:d} files".format(
          len(eval_objects)
      )
  
      n = len(eval_objects)
      c = Counter(e.error_category for e in eval_objects)
  
      self.correct = float(c["correct"]) / n
      self.fifth = float(c["fifth"]) / n
      self.relative = float(c["relative"]) / n
      self.parallel = float(c["parallel"]) / n
      self.other = float(c["other"]) / n
      self.weighted = sum(e.score for e in eval_objects) / n
  
file_path: madmom/madmom/evaluation/key.py
imports: from collections import Counter
  from .None import EvaluationMixin, evaluation_io
  from ..io import load_key
label_desc: Use image node_id 1 to create a new KeyMeanEvaluation object from inherited base classes: EvaluationMixin with example: obj = KeyMeanEvaluation(eval_objects, name)