Comments (6)
@xiaohk I already updated to gamchanger
0.1.13. The visualization showed up correctly now on my end. Thanks!
from gam-changer.
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.
#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 based on the repo's README:
from gam-changer.
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.
Awesome!! 🎉
from gam-changer.
@austin-rubin apologies for giving you the wrong answer! @xiaohk Thank you for the quick fix!
from gam-changer.
Related Issues (14)
- End bins cannot be interpolated, extrapolated or split HOT 3
- Option to make the Contribution Scores more Interpretable HOT 3
- GAMChanger fails to load data in some cases HOT 9
- Version 0.1.4 breaks gam-changer-adult.ipynb notebook HOT 2
- Insufficient Zoom HOT 1
- inconsistent with package interpret HOT 3
- Bug in gamchanger.py HOT 2
- Support for new link fuctions HOT 1
- pair_preprocessor_ is None HOT 1
- AttributeError: 'ExplainableBoostingClassifier' object has no attribute 'histogram_weights_' HOT 1
- ``get_model_data`` fails when trying to extract model data with monotonized features
- Incompatibility with ExplainableBoostingRegressor: unsupported feature type 'ordinal' HOT 5
- Empty Metric Panel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gam-changer.