code: def __call__(self, estimator, X, y, sample_weight=None):
      if self._deprecation_msg is not None:
          warnings.warn(
              self._deprecation_msg,
              category=DeprecationWarning,
              stacklevel=2,
          )
  
imports: from abc import ABCMeta, abstractmethod
  import warnings
  import numpy
  from .None import r2_score, median_absolute_error, mean_absolute_error, mean_squared_error, accuracy_score, f1_score, roc_auc_score, average_precision_score, precision_score, recall_score, log_loss
  from .cluster import adjusted_rand_score
  from ..utils.multiclass import type_of_target
  from ..externals import six
  from ..base import is_regressor
label_desc: Use image node_id 2 for calling the _BaseScorer obj's underlying member method code with example usage: obj.__call__(estimator, X, y, sample_weight) without return types