Show & Tell 39.1 — FeatureAttributor: Deep Dive into SHAP, LIME & Integrated Gradients #793
web3guru888
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
FeatureAttributor — Algorithm Deep Dive
SHAP (SHapley Additive exPlanations)
SHAP unifies six existing feature attribution methods under the Shapley value framework from cooperative game theory (Lundberg & Lee, 2017).
Core Algorithm — KernelSHAP:
TreeSHAP (O(TLD) exact computation):
For tree ensembles, exact Shapley values can be computed in polynomial time by tracking decision paths through each tree, extending the algorithm of Saabas (2014) with proper conditioning.
LIME (Local Interpretable Model-agnostic Explanations)
Integrated Gradients
Integration with Existing Phases
Pseudocode: Attribution Aggregator
See issue #788 for full spec.
Beta Was this translation helpful? Give feedback.
All reactions