scikit-learn/scikit-learn — pull request #563 by gwtaylor (2012-01-16 22:22:28+00:00)
Title: Add Matthews Correlation Coefficient to sklearn.metrics

This adds a new score, mcc_score to metrics.
Matthews Correlation Coefficient (MCC) is a measure for the quality of a binary classifier. Like the F1 score, it considers both recall and precision.
http://en.wikipedia.org/wiki/Matthews_correlation_coefficient

I've also added some tests.