docstr: Reset all Metrics according to a filter.
  
  Args:
      filter (str): Only keep the metric if `filter` in the name.
code: def _reset_metrics(self, filter=""):
      """
      Reset all Metrics according to a filter.
  
      Args:
          filter (str): Only keep the metric if `filter` in the name.
      """
      for k, v in self.metrics.items():
          if filter in k:
              v.reset()
  
file_path: baal/baal/metrics/mixin.py
imports: from typing import Callable, Dict, Any, Optional, DefaultDict, Union
  import numpy
  from torchmetrics import Metric
  from baal.utils.metrics import Metrics
label_desc: Use image node_id 3 for calling the MetricMixin obj's underlying member method code with example usage: obj._reset_metrics(filter) without return types