treeshap
Compute SHAP values for your tree-based models using the TreeSHAP algorithm
treeshap keeps widening its tree-model coverage while the SHAP math stays put.
◆Recent moves
- 3mo ago
GPBoost support lands; xgboost adapter repaired
GPBoost joins the adapter roster and the xgboost binding is repaired — the breadth-over-depth pattern that defines every treeshap release. The R floor moves to 4.1.0 as a side effect.
View source ↗ - 2y ago
Fixes broken lightgbm.unify examples
A documentation-only patch repairing lightgbm.unify examples, issued shortly after the package's return from CRAN archival. No change to how explanations are computed.
View source ↗ - 2y ago
Multi-output model explanations added
Multi-output models get their own unified and explanation classes, extending the adapter layer to a model shape it could not previously represent. Survival-forest handling from the prior release is corrected at the same time.
View source ↗ - 2y ago
First CRAN release consolidates the unify() adapters
⚡ SPARKThe first CRAN release collapses the per-framework adapters behind one generic unify() and brings random survival forests into scope — the point at which treeshap became an installable general-purpose SHAP backend rather than a GitHub project.
View source ↗