| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-03-03 | 2.7 kB | |
| v0.51.0 source code.tar.gz | 2026-03-03 | 162.4 MB | |
| v0.51.0 source code.zip | 2026-03-03 | 162.6 MB | |
| Totals: 3 Items | 325.0 MB | 9 | |
What's Changed
Fixes
- fix: check first that the feature is not in the leaf node by @Far-naz in https://github.com/shap/shap/pull/4268
- Fix missing array to scalar conversion in MAPLE by @Scienfitz in https://github.com/shap/shap/pull/4285
- fix Python Version of Tree SHAP notebook by @CloseChoice in https://github.com/shap/shap/pull/4289
- Fix path-dependent SHAP NaN with small background datasets by @tudstudent in https://github.com/shap/shap/pull/4272
- Fix IndexError in format_value() when handling empty strings by @Copilot in https://github.com/shap/shap/pull/4238
- Fix test_scatter_categorical for pandas 3.0 compatibility by @Copilot in https://github.com/shap/shap/pull/4253
- Fix SamplingExplainer.explain for Series. by @ljw20180420 in https://github.com/shap/shap/pull/4200
Other Changes
- Add tests for fixed masker by @CloseChoice in https://github.com/shap/shap/pull/4216
- Add comprehensive type hints to production code by @CloseChoice in https://github.com/shap/shap/pull/4217
- unpin versions and pin numba, skip causalml test by @CloseChoice in https://github.com/shap/shap/pull/4235
- Clarify TreeExplainer binary classification returns different shapes per model by @Copilot in https://github.com/shap/shap/pull/4254
- Add tests for explainers by @CloseChoice in https://github.com/shap/shap/pull/4218
- Add Colab Notebook to test GPUTreeExplainer by @CloseChoice in https://github.com/shap/shap/pull/4266
- Fix spelling error in docs: perterbation to perturbation by @laffertyryan0 in https://github.com/shap/shap/pull/4275
- update test_scatter to work with latest xgboost by @CloseChoice in https://github.com/shap/shap/pull/4278
- add ai usage policy at appropriate place in contributing, mention contributing in readme by @CloseChoice in https://github.com/shap/shap/pull/4279
- deprecate testing of newer llvmlite versions on macos x64_86 by @CloseChoice in https://github.com/shap/shap/pull/4286
New Contributors
- @ljw20180420 made their first contribution in https://github.com/shap/shap/pull/4200
- @Copilot made their first contribution in https://github.com/shap/shap/pull/4238
- @laffertyryan0 made their first contribution in https://github.com/shap/shap/pull/4275
- @tudstudent made their first contribution in https://github.com/shap/shap/pull/4272
- @Far-naz made their first contribution in https://github.com/shap/shap/pull/4268
- @Scienfitz made their first contribution in https://github.com/shap/shap/pull/4285
Full Changelog: https://github.com/shap/shap/compare/v0.50.0...v0.51.0