class_docstr: Accessor to ``sklearn.metrics``.
code: def _score_wraps(self, func, scorerer, *args, **kwargs):
      average = kwargs.get("average", "weighted")
      result = func(
          self._target.values, scorerer.values, *args, **kwargs
      )
      if average is None:
          result = self._constructor_sliced(result)
      return result
  
imports: from pandas_ml.core.accessor import _AccessorMethods, _attach_methods, _wrap_target_pred_func, _wrap_target_pred_noargs
  import pandas_ml.util
label_desc: Use image node_id 6 for calling the MetricsMethods obj's underlying member method code with example usage: obj._score_wraps(func, scorerer) and returns: result