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: import warnings
  from abc import ABCMeta, abstractmethod
  import numpy
  from ..None import six
  from .base import is_regressor
  from .type_of_target import type_of_target
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