code: def __init__(self, params):
      super(MetricLogger, self).__init__(params)
      self.name = params.get("name", "metric_logger")
      self.loss_values = {}
      self.metrics = []
      for metric_name in params.get("metric_names"):
          self.metrics += [Metric({"name": metric_name})]
  
file_path: mljar-supervised/supervised/callbacks/metric_logger.py
imports: import logging
  import numpy
  from supervised.callbacks.callback import Callback
  from supervised.utils.metric import Metric
label_desc: Use image node_id 1 to create a new MetricLogger object from inherited base classes: Callback with example: obj = MetricLogger(params)