scikit-learn/scikit-learn — pull request #1909 by Jim-Holmstroem (2013-04-29 22:07:33+00:00)
Title: Generalized the label type for some methods in metrics.

Response to: https://github.com/scikit-learn/scikit-learn/issues/1835

Added support for non-integer labels in `confusion_matrix`, `precision_recall_fscore_support`, `f1_score`, `fbeta_score`, `precision_score` and `recall_score`.