class_docstr: This base class exposes some attributes of MetricInfo
  at the base level of the Metric for easy access.
  
  <Deprecated version="2.5.0">
  
  Use the new library 🤗 Evaluate instead: https://huggingface.co/docs/evaluate
  
  </Deprecated>
class_docstr_tok: ["This","base","class","exposes","some","attributes","of","MetricInfo","at","the","base","level","of","the","Metric","for","easy","access",".","<","Deprecated","version=","''","2.5.0","''",">","Use","the","new","library","\ud83e\udd17","Evaluate","instead",":","https",":","\/\/huggingface.co\/docs\/evaluate","<","\/Deprecated",">"]
code: def __init__(self, info: MetricInfo):
      self._metric_info = info
  
imports: import os
  import types
  import uuid
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import pyarrow
  from filelock import BaseFileLock, Timeout
  from .None import config
  from .arrow_dataset import Dataset
  from .arrow_reader import ArrowReader
  from .arrow_writer import ArrowWriter
  from .download.download_config import DownloadConfig
  from .download.download_manager import DownloadManager
  from .features import Features
  from .info import DatasetInfo, MetricInfo
  from .naming import camelcase_to_snakecase
  from .utils._filelock import FileLock
  from .utils.deprecation_utils import deprecated
  from .utils.logging import get_logger
  from .utils.py_utils import copyfunc, temp_seed
label_desc: Use image node_id 1 to create a new MetricInfoMixin object  with example: obj = MetricInfoMixin(info)