scikit-learn/scikit-learn — pull request #1296 by aymas (2012-10-30 18:30:03+00:00)
Title: FIX : add condition pos_label!=None for multiclass purpose in metrics.pr...

add a condition (pos_label!=None) to enable multiclass evaluation even with only 2 class labels in metrics.precision_recall_fscore_support