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
Adding Fall-out, Miss rate, specificity as metrics #5516
It would be nice if these rates would be included in the metrics module:
False positive rate (Fall-out)
False negative rate (Miss rate)
True negative rate (specificity)
Reacted by Nikolaos Perrakis, albayraktaroglu, Pavlos Ratis, bart6114, Gitman-code, Miguel Crispim Romao, Ayon Biswas, Marcus Turewicz, Luca Cappelletti, Ahmet Akkoç and 4 more
Right, I used this to implement on of these rates that I needed. But still, why shouldn't everyone be able to calculate these rates directly? Pulling the data from the unlabled confusion matrix is also error-prone.
Would an example of getting these from the diagonal and marginals of the
confusion matrix suffice?
On 22 October 2015 at 07:40, Johannes Wienke [email protected]
wrote:
Right, I used this to implement on of these rates that I needed. But
still, why shouldn't everyone be able to calculate these rates directly?
Pulling the data from the unlabled confusion matrix is also error-prone.
—
Reply to this email directly or view it on GitHub #5516 (comment)
.
Right now I only need them for debugging purposes, so I don't select models at all using this. I wouldn't care much if there are 4 different methods or just a single one. However, the current metrics interface usually just computes a single score. So having four separate methods would be more consistent to my mind.
I would be against having to pull the numbers from the confusion matrix as their are no named entries in this matrix and it is easy to mix up the indices. So you end up with a metric you didn't intend to compute.
changed the title [-]Adding Fall-out, Miss rate, specificity rates as metrics[/-][+]Adding Fall-out, Miss rate, specificity as metrics[/+]on Oct 24, 2015
I agree with @languitar -- especially when trying to replicate old results that are reported. This sort of thing can be field-specific (e.g., I'm in neuroscience, where machine learning expertise is low compared to computer scientists, and many are forced to follow methods blindly to be consistent with previous work by reviewers).
Please if see the above pull request is satisfactory to your needs - I have added separate functions for Miss rate, fall out, Specificity and sensitivity.
Activity
amueller commentedon Oct 21, 2015
there is
confusion_matrixlanguitar commentedon Oct 21, 2015
Right, I used this to implement on of these rates that I needed. But still, why shouldn't everyone be able to calculate these rates directly? Pulling the data from the unlabled confusion matrix is also error-prone.
jnothman commentedon Oct 21, 2015
Would an example of getting these from the diagonal and marginals of the
confusion matrix suffice?
On 22 October 2015 at 07:40, Johannes Wienke [email protected]
wrote:
languitar commentedon Oct 23, 2015
Why not just add them as new metrics or loss functions?
amueller commentedon Oct 23, 2015
usually you want to compute all four, right? Or do you want to use only a single one and select a model using FPR? That would seem a bit odd to me.
languitar commentedon Oct 23, 2015
Right now I only need them for debugging purposes, so I don't select models at all using this. I wouldn't care much if there are 4 different methods or just a single one. However, the current metrics interface usually just computes a single score. So having four separate methods would be more consistent to my mind.
amueller commentedon Oct 23, 2015
precision_recall_fscore_supportcomputes three ;) Well we can add four new methods, or we could add anormalizeoption to the confusion matrix.languitar commentedon Oct 24, 2015
I would be against having to pull the numbers from the confusion matrix as their are no named entries in this matrix and it is easy to mix up the indices. So you end up with a metric you didn't intend to compute.
[-]Please add FP, TN, FN rates as metrics[/-][+]Adding Fall-out, Miss rate, specificity rates as metrics[/+][-]Adding Fall-out, Miss rate, specificity rates as metrics[/-][+]Adding Fall-out, Miss rate, specificity as metrics[/+]arjoly commentedon Oct 24, 2015
Why not, those metrics could be added if there are good explanation on what they bring compare to what we already have.
languitar commentedon Oct 25, 2015
For me there is a paper which used one of these rates and I want to compare against that.
josephdviviano commentedon Feb 15, 2017
I agree with @languitar -- especially when trying to replicate old results that are reported. This sort of thing can be field-specific (e.g., I'm in neuroscience, where machine learning expertise is low compared to computer scientists, and many are forced to follow methods blindly to be consistent with previous work by reviewers).
25 remaining items
madprogramer commentedon Sep 5, 2020
Is this still an issue, or is the updated more verbose output for
confusion_matrixs satisfactory now? If so could someone please close this issue?glemaitre commentedon Sep 7, 2020
No this is still an opened issue. I see that we did not got any bandwidth to review #17265
vaibhavmehrotraml commentedon Dec 26, 2020
I want to take this up.
Going to start reviewing #17265
BatMrE commentedon Aug 25, 2021
Hi, if its still open, and something specific need to be done can I work on it by creating a new PR??
Bhavya1705 commentedon Aug 28, 2021
Hello, I have started working on this.
Bhavya1705 commentedon Aug 31, 2021
Please if see the above pull request is satisfactory to your needs - I have added separate functions for Miss rate, fall out, Specificity and sensitivity.
LawJarp-A commentedon Dec 14, 2021
Hello, is this issue still open to work on?
josephdviviano commentedon Feb 17, 2022
Looks like this feature is awaiting approval here: #19556