Skip to content

Adding Fall-out, Miss rate, specificity as metrics #5516

Open

Description

@languitar

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)

Activity

  1. amueller commented on Oct 21, 2015

    @amueller
    Member

    there is confusion_matrix

  2. languitar commented on Oct 21, 2015

    @languitar
    Author

    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.

  3. jnothman commented on Oct 21, 2015

    @jnothman
    Member

    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)
    .

  4. languitar commented on Oct 23, 2015

    @languitar
    Author

    Why not just add them as new metrics or loss functions?

  5. amueller commented on Oct 23, 2015

    @amueller
    Member

    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.

  6. languitar commented on Oct 23, 2015

    @languitar
    Author

    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.

  7. amueller commented on Oct 23, 2015

    @amueller
    Member

    precision_recall_fscore_support computes three ;) Well we can add four new methods, or we could add a normalize option to the confusion matrix.

  8. languitar commented on Oct 24, 2015

    @languitar
    Author

    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.

  9. changed the title [-]Please add FP, TN, FN rates as metrics[/-] [+]Adding Fall-out, Miss rate, specificity rates as metrics[/+] on Oct 24, 2015
  10. changed the title [-]Adding Fall-out, Miss rate, specificity rates as metrics[/-] [+]Adding Fall-out, Miss rate, specificity as metrics[/+] on Oct 24, 2015
  11. arjoly commented on Oct 24, 2015

    @arjoly
    Member

    Why not, those metrics could be added if there are good explanation on what they bring compare to what we already have.

  12. languitar commented on Oct 25, 2015

    @languitar
    Author

    For me there is a paper which used one of these rates and I want to compare against that.

  13. josephdviviano commented on Feb 15, 2017

    @josephdviviano

    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).

  14. 25 remaining items

  15. madprogramer commented on Sep 5, 2020

    @madprogramer

    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?

  16. glemaitre commented on Sep 7, 2020

    @glemaitre
    Member

    No this is still an opened issue. I see that we did not got any bandwidth to review #17265

  17. vaibhavmehrotraml commented on Dec 26, 2020

    @vaibhavmehrotraml

    I want to take this up.
    Going to start reviewing #17265

  18. BatMrE commented on Aug 25, 2021

    @BatMrE

    Hi, if its still open, and something specific need to be done can I work on it by creating a new PR??

  19. Bhavya1705 commented on Aug 28, 2021

    @Bhavya1705

    Hello, I have started working on this.

  20. Bhavya1705 commented on Aug 31, 2021

    @Bhavya1705

    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.

  21. LawJarp-A commented on Dec 14, 2021

    @LawJarp-A

    Hello, is this issue still open to work on?

  22. removed their assignment
    on Dec 14, 2021
  23. removed
    good first issue
    on Jan 6, 2022
  24. josephdviviano commented on Feb 17, 2022

    @josephdviviano

    Looks like this feature is awaiting approval here: #19556

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions