I would link only to ```:func:`sklearn.metrics.average_precision_score``.