-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to Calculate Shapley Values on a Re-weighted Tree #7550
Comments
Michal Kurka commented: First version implemented in an experimental API, example usage: {code:python} import h2o
|
Michal Kurka commented: [~accountid:557058:f0137791-c6cb-47bd-bcce-fc81ad4cfefa] I changed the name of the rapid function from {{sharedtree.update.weights}} to {{tree.update.weights}} because now we will also support XGBoost. |
Michal Kurka commented: PR for reweighting in XGBoost: [https://github.com//pull/5502|https://github.com//pull/5502|smart-link] |
Neema Mashayekhi commented: Reopening to add fix for zero weights (for some zero weights were not calculating contributions correctly) |
JIRA Issue Details Jira Issue: PUBDEV-8099 |
Add the ability to update the node weights of a tree based on a subset of the training population while keeping the original leaf-node predictions. Calculate Shapley on this re-weighted tree. The goal of this approach is to be able to calculate Shap values based on a subset of population.
This is somewhat similar to the refit option in LightGBM with decay_rate = 1.
(Note: Keep the original prediction so the Shapley values sum-up to the actual raw model prediction before sigmoid transformation.
The text was updated successfully, but these errors were encountered: