code: def reset(self):
      self.num_samples = 0
      self.result_dict = defaultdict(float)
  
file_path: medicaltorch/medicaltorch/metrics.py
imports: from collections import defaultdict
  from scipy import spatial
  import numpy
label_desc: Use image node_id 4 for calling the MetricManager obj's underlying member method code with example usage: obj.reset() without return types