docstr: Set requested parameters by the scorer.
  
  Please see :ref:`User Guide <metadata_routing>` on how the routing
  mechanism works.
  
  .. versionadded:: 1.3
  
  Parameters
  ----------
  kwargs : dict
      Arguments should be of the form ``param_name=alias``, and `alias`
      can be one of ``{True, False, None, str}``.
docstr_tok: ["Set","requested","parameters","by","the","scorer",".","Please","see",":","ref",":","`","User","Guide","<","metadata_routing",">","`","on","how","the","routing","mechanism","works",".","..","versionadded",":",":","1.3","Parameters","--","--","--","--","--","kwargs",":","dict","Arguments","should","be","of","the","form","``","param_name=alias","``",",","and","`","alias","`","can","be","one","of","``","{","True",",","False",",","None",",","str","}","``","."]
code: def set_score_request(self, **kwargs):
      """Set requested parameters by the scorer.
  
      Please see :ref:`User Guide <metadata_routing>` on how the routing
      mechanism works.
  
      .. versionadded:: 1.3
  
      Parameters
      ----------
      kwargs : dict
          Arguments should be of the form ``param_name=alias``, and `alias`
          can be one of ``{True, False, None, str}``.
      """
      self._warn_overlap(
          message=(
              "You are setting metadata request for parameters which are "
              "already set as kwargs for this metric. These set values will be "
              "overridden by passed metadata if provided. Please pass them either "
              "as metadata or kwargs to `make_scorer`."
          ),
          kwargs=kwargs,
      )
      self._metadata_request = MetadataRequest(
          owner=self.__class__.__name__
      )
      for param, alias in kwargs.items():
          self._metadata_request.score.add_request(
              param=param, alias=alias
          )
      return self
  
imports: import copy
  import warnings
  from collections import Counter
  from functools import partial
  from inspect import signature
  from traceback import format_exc
  import numpy
  from ..base import is_regressor
  from ..utils import Bunch
  from ..utils._param_validation import HasMethods, StrOptions, validate_params
  from ..utils._response import _get_response_values
  from ..utils.metadata_routing import MetadataRequest, MetadataRouter, _MetadataRequester, _routing_enabled, get_routing_for_object, process_routing
  from ..utils.multiclass import type_of_target
  from .None import accuracy_score, average_precision_score, balanced_accuracy_score, brier_score_loss, class_likelihood_ratios, explained_variance_score, f1_score, jaccard_score, log_loss, matthews_corrcoef, max_error, mean_absolute_error, mean_absolute_percentage_error, mean_gamma_deviance, mean_poisson_deviance, mean_squared_error, mean_squared_log_error, median_absolute_error, precision_score, r2_score, recall_score, roc_auc_score, top_k_accuracy_score
  from .cluster import adjusted_mutual_info_score, adjusted_rand_score, completeness_score, fowlkes_mallows_score, homogeneity_score, mutual_info_score, normalized_mutual_info_score, rand_score, v_measure_score
label_desc: Use image node_id 7 for calling the _BaseScorer obj's underlying member method code with example usage: obj.set_score_request() and returns: self