class_docstr: Calculate performance metrics of a given model on a given dataset.
  
  Parameters
  ----------
  scorers: Union[Dict[str, Union[Callable, str]], List[Any]] , default: None
      Scorers to override the default scorers (metrics), find more about the supported formats at
      https://docs.deepchecks.com/stable/user-guide/general/metrics_guide.html
  {additional_check_init_params:2*indent}
docstr: Return check configuration.
docstr_tok: ["Return","check","configuration","."]
code: def config(
      self, include_version: bool = True, include_defaults: bool = True
  ) -> "CheckConfig":
      """Return check configuration."""
      if isinstance(self.scorers, dict):
          for k, v in self.scorers.items():
              if not isinstance(v, str):
                  reference = doclink(
                      "vision-builtin-metrics",
                      template="For a list of built-in scorers please refer to {link}. ",
                  )
                  raise ValueError(
                      "Only built-in scorers are allowed when serializing check instances. "
                      f"{reference}Scorer name: {k}"
                  )
      return super().config(
          include_version=include_version,
          include_defaults=include_defaults,
      )
  
imports: from numbers import Number
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union
  from deepchecks.core import CheckResult, ConditionResult, DatasetKind
  from deepchecks.core.condition import ConditionCategory
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.core.reduce_classes import ReduceMetricClassMixin
  from deepchecks.utils.docref import doclink
  from deepchecks.vision._shared_docs import docstrings
  from deepchecks.vision.base_checks import SingleDatasetCheck
  from deepchecks.vision.context import Context
  from deepchecks.vision.metrics_utils.scorers import get_scorers_dict, metric_results_to_df
  from deepchecks.vision.vision_data.batch_wrapper import BatchWrapper
label_desc: Use image node_id 5 for calling the SingleDatasetPerformance obj's underlying member method code with example usage: obj.config(include_version, include_defaults) and returns: super