Giter Club home page Giter Club logo

Comments (3)

marcotcr avatar marcotcr commented on July 23, 2024

I am assuming the the most common use case is binary prediction. When the prediction is binary, you want to always explain label 1, as that keeps 0 on the left and 1 on the right in the visualization, even if 0 is the top predicted label.

from lime.

asross avatar asross commented on July 23, 2024

Makes sense. You do know the number of classes, so you could default to label 1 for binary classification and the top label otherwise.

I do think a large percentage of users will want to use this library to explain the prediction their model actually made, and it seems like the default options should facilitate that. You could also add another function that wraps explain_instance, I guess.

from lime.

marcotcr avatar marcotcr commented on July 23, 2024

I will make major changes in the interface to include other explanation methods I've developed soon, so I'll keep the suggestion in mind.
Thanks,

from lime.

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.