class_docstr: Base class for benchmarks.
  
  A benchmark consists of a set of tasks and a set of estimators.
  
  Parameters
  ----------
  id_format: str, optional (default=None)
      A regex used to enforce task/estimator ID to match a certain format
      if None, no format is enforced on task/estimator ID
code: def __init__(self, id_format: Optional[str] = None):
      _check_soft_dependencies("kotsu")
      import kotsu
  
      from sktime.benchmarking._base_kotsu import (
          SktimeModelRegistry,
          SktimeValidationRegistry,
      )
  
      self.estimators = SktimeModelRegistry(id_format)
      self.validations = SktimeValidationRegistry(id_format)
      self.kotsu_run = kotsu.run.run
  
file_path: sktime/sktime/benchmarking/benchmarks.py
imports: from typing import Callable, Optional, Union
  import pandas
  from sktime.base import BaseEstimator
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 1 to create a new BaseBenchmark object  with example: obj = BaseBenchmark(id_format)