shap.TreeExplainer — SHAP latest documentation
shap-lrjball.readthedocs.io › en › latestshap.TreeExplainer. class shap.TreeExplainer(model, data=None, model_output='raw', feature_perturbation='interventional', **deprecated_options) ¶. Uses Tree SHAP algorithms to explain the output of ensemble tree models. Tree SHAP is a fast and exact method to estimate SHAP values for tree models and ensembles of trees, under several different ...
API Reference — SHAP latest documentation
shap-lrjball.readthedocs.io › en › latestshap.GradientExplainer (model, data [, …]) Explains a model using expected gradients (an extension of integrated gradients). shap.DeepExplainer (model, data [, session, …]) Meant to approximate SHAP values for deep learning models. Uses the Kernel SHAP method to explain the output of any function. This is an extension of the Shapley ...
shap.DeepExplainer — SHAP latest documentation
shap-lrjball.readthedocs.io › en › latestshap.DeepExplainer¶ class shap.DeepExplainer (model, data, session = None, learning_phase_flags = None) ¶. Meant to approximate SHAP values for deep learning models. This is an enhanced version of the DeepLIFT algorithm (Deep SHAP) where, similar to Kernel SHAP, we approximate the conditional expectations of SHAP values using a selection of background samples.