Comments (3)
Many thanks for your quick & detailed answer! This helps a lot.
Maybe someday in the future feature_perturbation="interventional"
will be supported as well? ;)
Closing the ticket.
Cheers
from fasttreeshap.
Hi,
Thanks for using this package and glad to see the performance bumps. For your question: Currently model_output="logloss"
is only supported when feature_perturbation="interventional"
(see https://github.com/linkedin/FastTreeSHAP/blob/master/fasttreeshap/explainers/_tree.py#L116, https://github.com/slundberg/shap/blob/master/shap/explainers/_tree.py#L89). Since FastTreeSHAP algorithm (parallelism, v1, v2) is currently only implemented when feature_perturbation="tree_path_dependent"
, it does not bring up computational speedups when setting model_output="logloss"
unfortunately. Hope this answers your question.
from fasttreeshap.
@jlyang1990 thank you for this very useful package!
May I ask - are you planning to implement FastTreeSHAP for feature_perturbation="interventional"
? If so, do you have a timeline in mind! Many thanks!
from fasttreeshap.
Related Issues (20)
- 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
- 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
- Update package
- xgboost version compatible with FastTreeSHAP
- Support for RandomForestQuantileRegressor
- cannot slice shap values like SHAP package HOT 1
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.