You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add multi-label support to the confusion matrix metric #3452
@arjoly@jnothman This implements the multilabel_confusion_matrix function which computes the values True positives, true negatives, false positives and false negatives for a multi-label classification problem, was that what you expected to be the behavior of the multilabel_confusion_matrix
I am planning to add multi label classification metrics, including confusion matrix. There is a NIPS 2012 paper which explains great metrics for multi-label context. Will put in the effort if I think there's enough people who still need it. Is it still needed? Or is to not that important for the community?
Reacted by Christian Schulze, ash, Joomi Kim, Juan Manuel Contreras, Kyle Thomas, Vinod H I, Trideep Rath, Erfan Azad, Patrick Liu, romainsauvestre and 5 more
Which paper exactly are you referring to? I find the metrics quite ambiguous in general use. Some use F_1/precision/recall/subset accuracy micro/macro and some use other metrics. (I use the former)
I'm always interested in bringing more native ml support to sklearn. But also be aware of other approaches like scikit-multilearn, or my own small skml for scikit compatible multi label classification. I find the things for ml in sklearn lacking and quite unusable.
Adding the most important multi-label algorithms is very interesting in my opinion. This is indeed a very long term project.
Reacted by Christian Schulze, Asher Newcomer, Joomi Kim, Juan Manuel Contreras, Kyle Thomas, Flávio Codeço Coelho, Erfan Azad, Dag Wullt, Akın Tekeoğlu, Andrea Bergonzo and 4 more
Activity
jnothman commentedon Jul 20, 2014
What does confusion matrix mean in a multilabel context?
On 20 July 2014 20:34, Arnaud Joly [email protected] wrote:
arjoly commentedon Jul 20, 2014
The same as in the multiclass case, but the notion of true positive, true negative, false negative are different the multi-label case.
For example, this is explained in http://www.cnts.ua.ac.be/~vincent/pdf/microaverage.pdf
jnothman commentedon Jul 20, 2014
Okay, not actually a confusion matrix in the multiclass sense (which label
is confused with which), but a binarized error analysis.
On 20 July 2014 22:50, Arnaud Joly [email protected] wrote:
arjoly commentedon Jul 20, 2014
Then we might want to add a function. It might be binarized_confusion_matrix or multilabel_confusion_matrix.
Implementing multilabel confusion matrix - Issue scikit-learn#3452
Magellanea commentedon Aug 31, 2014
@arjoly @jnothman This implements the multilabel_confusion_matrix function which computes the values True positives, true negatives, false positives and false negatives for a multi-label classification problem, was that what you expected to be the behavior of the
multilabel_confusion_matrixImplementing multilabel confusion matrix - Issue scikit-learn#3452
Implementing multilabel confusion matrix - Issue scikit-learn#3452
Implementing multilabel confusion matrix - Issue scikit-learn#3452
Implementing multilabel confusion matrix - Issue scikit-learn#3452
Implementing multilabel confusion matrix - Issue scikit-learn#3452
Florents-Tselai commentedon Sep 26, 2015
What's the status on this?
arjoly commentedon Sep 28, 2015
The pr #3452 has stalled feel free to continue if you want to finish it.
pramitchoudhary commentedon Jun 17, 2016
Is there any plan, or is someone working on pr #3452 ?
Spandan-Madan commentedon Apr 5, 2017
I am planning to add multi label classification metrics, including confusion matrix. There is a NIPS 2012 paper which explains great metrics for multi-label context. Will put in the effort if I think there's enough people who still need it. Is it still needed? Or is to not that important for the community?
ChristianSch commentedon Apr 5, 2017
Which paper exactly are you referring to? I find the metrics quite ambiguous in general use. Some use F_1/precision/recall/subset accuracy micro/macro and some use other metrics. (I use the former)
I'm always interested in bringing more native ml support to sklearn. But also be aware of other approaches like scikit-multilearn, or my own small skml for scikit compatible multi label classification. I find the things for ml in sklearn lacking and quite unusable.
arjoly commentedon Apr 13, 2017
Adding the most important multi-label algorithms is very interesting in my opinion. This is indeed a very long term project.
carlthome commentedon Jan 17, 2019
@Spandan-Madan, which NIPS 2012 paper are you thinking of?