code: def __init__(self, metric, beta=1):
      self.p_num = 0
      self.p_den = 0
      self.r_num = 0
      self.r_den = 0
      self.metric = metric
      self.beta = beta
  
imports: import logging
  import numpy
  from collections import Counter, defaultdict
  from scipy.optimize import linear_sum_assignment
  from .blanc import blanc, tuple_to_metric
label_desc: Use image node_id 1 to create a new Evaluator object from inherited base classes: object with example: obj = Evaluator(metric, beta)