scikit-learn/scikit-learn — pull request #2804 by arjoly (2014-01-31 09:31:17+00:00)
Title: [MRG] Label ranking average precision

The goal of this pull request is to add a first metric for multilabel ranking problem "label ranking average precision". The definition can be found in [Mining multilabel data](http://lkm.fri.uni-lj.si/xaigor/slo/pedagosko/dr-ui/tsoumakas09-dmkdh.pdf) at page 14 or in the documentation.

For the moment, I decided to add a new function instead of a new possible average value to the current `average_precision_score`. But this could change. I am also open to suggestions for a shorter name.