github shap/shap v0.20.0

latest releases: v0.45.0, v0.44.1, v0.44.0...
5 years ago

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.

Don't miss a new shap release

NewReleases is sending notifications on new releases.