Code Monkey home page Code Monkey logo

Comments (4)

josephgleasure avatar josephgleasure commented on September 26, 2024 1

your discussion of precision and recall opened up a new way of thinking about accuracy to me. Kind of a weird way to learn the concept I imagine but highly appreciated nontheless

from eugeneyan-comments.

Ishitori avatar Ishitori commented on September 26, 2024

Thanks for the great post!

Could you share the code you use to calculate and plot of:

  1. Precision/Recall vs. Threshold plot
  2. Density vs. Prob inconsistent plot (with JS Divergence on top)

Thank you.

from eugeneyan-comments.

Ishitori avatar Ishitori commented on September 26, 2024

Also, I am curious if this is a typo:

Like ROC-AUC, a perfect classifier has PR-AUC = 1.0 while a random classifier has PR-AUC = 0.0

Why random classifier would have PR-AUC 0.0 instead of 0.5?

from eugeneyan-comments.

eugeneyan avatar eugeneyan commented on September 26, 2024

Could you share the code you use to calculate and plot of...

Added the code for classification metrics here

Why random classifier would have PR-AUC 0.0 instead of 0.5?

Doh, thanks for catching this. Not sure what I was thinking. It should read "a random classifier would have PR-AUC = proportion of positive labels". Thanks for catching it. Corrected!

from eugeneyan-comments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.