baybe.insights.shapΒΆ

SHAP insights.

Module Attributes

SHAP_EXPLAINERS

Supported SHAP explainer types for baybe.insights.shap.SHAPInsight

NON_SHAP_EXPLAINERS

Supported non-SHAP explainer types for baybe.insights.shap.SHAPInsight

EXPLAINERS

Supported explainer types for baybe.insights.shap.SHAPInsight

SHAP_PLOTS

Supported plot types for baybe.insights.shap.SHAPInsight.plot()

Functions

is_shap_explainer(explainer)

Indicate if the given explainer is a SHAP explainer or not (e.g. MAPLE, LIME).

make_explainer_for_surrogate(surrogate, data)

Create a SHAP explainer for a given surrogate model.

Classes

SHAPInsight

Class for SHAP-based feature importance insights.