Shapley feature attributions for one instance (sampling estimator)
Source:R/fairness_xai.R
morie_fairness_xai_shap_values.RdShapley feature attributions for one instance (sampling estimator)
Usage
morie_fairness_xai_shap_values(
predict_fn,
x,
background,
feature_names = NULL,
n_samples = 200L,
seed = 0L
)