Shap

Latest version: v0.45.1

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

Scan your dependencies

Page 9 of 9

0.20.0

This release brings a significant interface change. The expected value of the model is no longer included as the last column of the returned shap_values array. Instead it can be accessed as `explainer.expected_value`. This should make things much cleaner going forward, since the shape of the shap_values matrix will now be exactly the same as the input array to the model. This is particularly important for deep learning models with many dimensional input tensors. Note that because of this change `shap.force_plot()` now requires the model's expected (base) value as the first argument.

0.19.5

Adds support for embedding layers and LSTM dropout among other things.

0.19.4

DeepExplainer now supports the TensorFlow components used by LSTM's.

0.19.3

Fully functional implementations of DeepExplainer and GradientExplainer now available.

0.19.2

Fixes an important bug when explaining sklearn models (137).

0.19.1

This marks the final release before potential interface changes to support multi-dimensional inputs in DeepExplainer.

Page 9 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.