scikit-learn/scikit-learn — pull request #1942 by Jim-Holmstroem (2013-05-06 21:08:23+00:00)
Title: TST: General label type tests for confusion matrix

More generalized and refactored tests for general label types in `confusion_matrix`
Also factored out the `matthew_corrcoef` from `confusion_matrix`.