New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multi-label support to the confusion matrix metric #3452
Comments
What does confusion matrix mean in a multilabel context? On 20 July 2014 20:34, Arnaud Joly notifications@github.com wrote:
|
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 |
Okay, not actually a confusion matrix in the multiclass sense (which label On 20 July 2014 22:50, Arnaud Joly notifications@github.com wrote:
|
Then we might want to add a function. It might be binarized_confusion_matrix or multilabel_confusion_matrix. |
What's the status on this? |
The pr #3452 has stalled feel free to continue if you want to finish it. |
Is there any plan, or is someone working on pr #3452 ? |
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? |
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. |
@Spandan-Madan, which NIPS 2012 paper are you thinking of? |
Currently the
confusion_matrix
support binary and multi-class classification, but not multi-label data yet.The text was updated successfully, but these errors were encountered: