Code Monkey home page Code Monkey logo

Comments (4)

aerdem4 avatar aerdem4 commented on May 24, 2024

Hi @AndreaPesce , thanks for your interest in this package. Default model has only simple checks and try to infer the most common use cases. You can provide your multi-class model object (without training) and use LOFO. If you are aware of it and still want to have multi-class in default model, please let me know.

from lofo-importance.

AndreaPesce avatar AndreaPesce commented on May 24, 2024

Hi @aerdem4, thanks for the answer. I'll define the model to be a Classifier.

I think that if I define a classification metric as scoring param, then the model can be for multiclass or binary classification, so the model has to be a classifier. The choice should not depends on the number of unique value, but on the scoring metric.

If there's no need for you to add this option, then I'll close the issue.
Thank you again!

from lofo-importance.

aerdem4 avatar aerdem4 commented on May 24, 2024

If the choice depends on the metric, then I have to keep a static list of all metrics, which will need to be updated every time sklearn is updated. Besides LOFO allows you to have your own metric, then it won't be possible to guess for these custom metrics. I also want the default model to understand if it is a multi-class problem but I am looking for the most convenient solution.

from lofo-importance.

ybdesire avatar ybdesire commented on May 24, 2024

the same as #40

from lofo-importance.

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.