Giter Club home page Giter Club logo

Comments (6)

austin-rubin avatar austin-rubin commented on May 30, 2024 1

@xiaohk I already updated to gamchanger 0.1.13. The visualization showed up correctly now on my end. Thanks!

from gam-changer.

serband avatar serband commented on May 30, 2024

Yeah its a bug but thankfully its a quick hack to make it work.

From something I was working on today :

`
#make a ebm
ebm = ExplainableBoostingRegressor(random_state=seed, n_jobs=-1, objective = "poisson_deviance",
interactions=5)

#run this
ebm.histogram_counts_ = ebm.bagged_scores_

#gamchanger should now work
gc.visualize(ebm, X_sample, y_sample)
`

from gam-changer.

austin-rubin avatar austin-rubin commented on May 30, 2024

#run this
ebm.histogram_counts_ = ebm.bagged_scores_

#gamchanger should now work
gc.visualize(ebm, X_sample, y_sample)

Thanks for the workaround, @serband !

I am not sure if it's only on my device, but have you also noticed that the density plot doesn't render?

GAMCHANGER on my device:
gam_changer

GAMCHANGER based on the repo's README:
68747470733a2f2f692e696d6775722e636f6d2f654b7a4b4a666c2e706e67

from gam-changer.

xiaohk avatar xiaohk commented on May 30, 2024

Thank you so much @austin-rubin and @serband!

ebm.histogram_counts_ = ebm.bagged_scores_ is a nice try, but it should be ebm.histogram_counts_ = ebm.histogram_weights. 😂 Interpret changed the name histogram_counts_ to histogram_weights_ (and also int → float) in interpretml/interpret@fe59c2f.

4b2194c should fix it. @austin-rubin you can try to update gamchanger to 0.1.13, and the visualization should show up correctly. Let me me know if it doesn't work.

from gam-changer.

xiaohk avatar xiaohk commented on May 30, 2024

Awesome!! 🎉

from gam-changer.

serband avatar serband commented on May 30, 2024

@austin-rubin apologies for giving you the wrong answer! @xiaohk Thank you for the quick fix!

from gam-changer.

Related Issues (14)

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.