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.
What's Changed
Breaking changes
- Dropped support for 3.8 in #3414
- 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 #3318
- Removed deprecated
feature_dependence
parameters in TreeExplainer and LinearExplainer by @thatlittleboy in #3340 - Removed deprecated alias for Coefficient by @connortann in #3511
Added
- Added support for python 3.12 by @connortann in #3414
- Added support for GPU build on recent CUDA versions by @trivialfis in #3462
- 2x import time speedup via lazy importing of pytorch by @connortann in #3533
- Added support returning the matplotlib figure in bar plots by @richarddli in #3494
- Added selu activation for tensorflow deep explainer by @CloseChoice in #3504
- Added support for special characters in catboost models by @CloseChoice in #3506
- Added ability to control marker size in
beeswarm
plots by @MonoHue in #3530
Fixed
- Fixed XGBoost model load by @trivialfis in #3462
- Fixed text masking with certain tokenizers by @costrau in #3536
- Fixed issue with KernelExplainer when explaining tensorflow models by @connortann in #3542
- Fixed force_plot contribution threshold for negative contributions by @connortann in #3547
- Removed overwrite of default warning filter or formatter by @connortann in #3514
.. plus a large number of documentation, testing and other maintenance updates by @CloseChoice , @yuanx749 , @LakshmanKishore and others.
New Contributors
- @richarddli made their first contribution in #3494
- @yuanx749 made their first contribution in #3458
- @LakshmanKishore made their first contribution in #3393
- @trivialfis made their first contribution in #3462
- @DanGolding made their first contribution in #3526
- @MonoHue made their first contribution in #3530
- @costrau made their first contribution in #3536
Full Changelog: v0.44.1...v0.45.0