scikit-learn/scikit-learn — pull request #1345 by conradlee (2012-11-08 18:33:10+00:00)
Title: metrics.py: bug fix on for precision_recall_curve

This should fix the bug noted in issue 1342.

Please review this bugfix. Note that the latest version of precision_recall_curve uses an auxillary funciton called pairwise, which I've added at the end of metrics.py - this auxillary function should probably go somewhere else, but I'm not sure where.