Shap

Latest version: v0.47.0

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 10

0.23.0

This release includes a nice update courtesy of imatiach-msft for KernelExplainer. KernelExplainer now runs faster and supports sparse data matrices!

We have also refactored DeepExplainer and made it compatible with TensorFlow 1.10. There are still a few issues to track down, but DeepExplainer is getting more complete :)

0.22.3

Fixes a problem with DeepExplainer on TensorFlow >= 1.9. Fixes a bar plotting issue.

0.22.2

Fix a pip packaging error with `other` explainers.

0.22.1

Fix an import error introduced in the last release when installing from pip.

0.22.0

Integrates the JS code from `iml` into `shap` to simplify dependencies. Adds support for more TensorFlow components in `DeepExplainer`. Refactors the plotting functions and removes some long-deprecated functions. Fixes an error in KernelExplainer when using a non-zero reference value (192).

0.21.0

A new LinearExplainer that can estimate SHAP values for linear models while accounting for correlations among the input features.

Page 8 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.