scikit-learn/scikit-learn — pull request #785 by bwhite (2012-04-20 17:53:11+00:00)
Title: Faster confusion_matrix implementation

The current implementation is unnecessarily slow O(L^2M) with the proposed implementation as O(M) (if we ignore the O(L^2) memory creation overhead) where
L: Number of labels
M: Number of inputs