Skip to contents

R ports of the explainer suite in morie.fairness.xai. Prefers iml for permutation importance / PDP / SHAP-ish attributions when available; otherwise computes the same quantities in base R from first principles. Every callable takes a predict_fn closure (matrix -> numeric vector) so it works on any classifier or risk model.

Details

  • morie_fairness_xai_permutation_importance

  • morie_fairness_xai_partial_dependence

  • morie_fairness_xai_ale

  • morie_fairness_xai_ceteris_paribus

  • morie_fairness_xai_shap_values