kernel Shap
Creates a KernelSHAP explainer for a scalar function on DoubleArray.
Return
the KernelSHAP explainer.
Parameters
the background reference dataset.
maximum number of coalitions to evaluate per instance (0 = auto).
L2 regularization parameter for numerical stability.
the scalar prediction function.
Creates a KernelSHAP explainer for a Regression model on DoubleArray.
Return
the KernelSHAP explainer.
Parameters
the background reference dataset.
the regression model.
maximum number of coalitions to evaluate per instance (0 = auto).
L2 regularization parameter for numerical stability.
Creates a KernelSHAP explainer for a Classifier model on DoubleArray.
Return
the KernelSHAP explainer.
Parameters
the background reference dataset.
the classification model.
maximum number of coalitions to evaluate per instance (0 = auto).
L2 regularization parameter for numerical stability.
Creates a KernelSHAP explainer for a DataFrameRegression model.
Return
the KernelSHAP explainer.
Parameters
the background reference data frame.
the DataFrame regression model.
maximum number of coalitions to evaluate per instance (0 = auto).
L2 regularization parameter for numerical stability.
Creates a KernelSHAP explainer for a DataFrameClassifier model.
Return
the KernelSHAP explainer.
Parameters
the background reference data frame.
the DataFrame classifier model.
maximum number of coalitions to evaluate per instance (0 = auto).
L2 regularization parameter for numerical stability.