Comments (3)
Fixed this issue by avoiding "memory check" for CatBoost, since CatBoost is not supported in the current version of fasttreeshap
(mentioned in #6).
fasttreeshap
is built only for "tree_path_dependent". You may still run "interventional" in fasttreeshap
anyway, but its performance should be the same as in shap
. I would suggest you to post issues related to "interventional" directly in shap
GitHub page.
from fasttreeshap.
Is this also true For xgboost and lgbm? From my understanding in the Paper "tree path dependent" is the better Method For explaining model Performance and interventional is used to explain Relationships in the Data. Also "interventional" is a lot slower so wouldnt a fast tree shap Method make a lot of sense For it?
from fasttreeshap.
Yes. fasttreeshap
accelerates the shap value computation for xgboost and lgbm only for "tree_path_dependent".
Thanks for your suggestion! It may make sense to accelerate "interventional" as well, however the algorithms used in "tree_path_dependent" and "interventional" are totally different. It is actually much harder to accelerate "interventional" (and I actually doubt the feasibility of accelerating "interventional" from algorithm side), and thus it is out of the scope of this package.
from fasttreeshap.
Related Issues (20)
- Can not install FastTreeSHAP on linux HOT 2
- Plotting example HOT 5
- Cannot build fasttreeshap in linux environment HOT 1
- How to build FastTreeSHAP Wheel on windows, using Python 3.10.7
- Numpy<1.22 requirement, could we upgrade it? HOT 3
- SHAP Values Change and Additivity Breaks on NumPy Upgrade HOT 1
- The additivity check failed with feature_perturbation=“tree_path_dependent” HOT 5
- Parallelism not working when model_output="logloss" HOT 3
- Beeswarm plot colorbar is too narrow on jupyter notebooks HOT 1
- The notebook example is not working HOT 2
- 'numpy' has no attribute 'bool' HOT 1
- NumbaDeprecationWarning HOT 5
- "error: could not find a version that satisfies the requirement setuptools (from versions: none)" HOT 1
- ERROR IN INSTALLING FastTreeSHAP HOT 2
- FastTreeSHAP summary_plot plots interaction value instead of impact on model output
- "shap" as a dependency?
- Additivity check fails with XGBoost
- Conda package HOT 1
- pip install fasttreeshap fails HOT 2
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 fasttreeshap.