This is a fairly significant release containing a number of breaking changes.
Thank you to a number of new contributors for their contributions to this release! We are eager to grow the pool of maintainers, so please do get in touch on #3559 if you are interested in being part of the team.
Changed type and shape of returned SHAP values in some cases, to be consistent with model outputs. SHAP values for models with multiple outputs are now np.ndarray rather than list, by @CloseChoice in shap/shap#3318
Removed deprecated feature_dependence parameters in TreeExplainer and LinearExplainer by @thatlittleboy in shap/shap#3340
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Updates the requirements on shap to permit the latest version.
Release notes
Sourced from shap's releases.
Commits
56394f1
DOCS: Enable subset of pydocstyle rules, bulk update ruff fixes (#3550)503258b
DOCS: Formatting and phrasing updates for SHAP return values (#3549)b230584
reintroduce tests that were accidentally commented out (#3556)0aa4cf6
MAINT: Add l1_reg argument to KernelExplainer call() (#3554)542a97c
refactor deep explainer tests and relax allowed tolerance (#3555)e9fd303
Update deprecation warnings for l1_reg="auto" and auto_size_plot=False (#3517)7a4afd7
Fix force_plot contribution threshold for negative contributions (#3547)e1094a2
MAINT: Bump ruff version, fix updated rule UP032 (f-strings) (#3552)ad6733e
Fix issue with KernelExplainer when explaining tensorflow models (#3542)ea3bfc8
BREAKING: make shap explanations consistent for xgboost and lightgbm (#3318)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show