class_docstr: Accessor to ``sklearn.metrics``.
docstr: Call ``sklearn.metrics.average_precision_score`` using automatic mapping.
  
  - ``y_true``: ``ModelFrame.target``
  - ``y_score``: ``ModelFrame.decision``
docstr_tok: ["Call","``","sklearn.metrics.average_precision_score","``","using","automatic","mapping",".","-","``","y_true","``",":","``","ModelFrame.target","``","-","``","y_score","``",":","``","ModelFrame.decision","``"]
code: def average_precision_score(self, *args, **kwargs):
      """
      Call ``sklearn.metrics.average_precision_score`` using automatic mapping.
  
      - ``y_true``: ``ModelFrame.target``
      - ``y_score``: ``ModelFrame.decision``
      """
      func = self._module.average_precision_score
      return self._score_wraps(func, self._decision, *args, **kwargs)
  
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 2 for calling the MetricsMethods obj's underlying member method code with example usage: obj.average_precision_score() and returns: self