scikit-learn/scikit-learn — pull request #2460 by arjoly (2013-09-19 17:14:40+00:00)
Title: [WIP] Multilabel-indicator roc auc and average precision

The goal of this pr is to add multilabel-indicator support for various type of averaging
for `roc_auc_score` and `average_precision_score`.

Still to do:
- [x] Implementation of micro, macro, weighted and sample `roc_auc_score`
- [x] Implementation of micro, macro, weighted and sample `average_precision_score`
- [x] Add a general test for binary metric that are extended through averaging
- [x] Harmonize how global tests are performed for the metrics module
- [ ] Write the narrative documentation
- [ ] Ensure that the scorer interface work with both possible representation (see #2451)

A priori, I won't add ranking-based `average_precision_score`.