Rank Graduation Explainability

RGE measures how model predictions change when information is removed, masked, or occluded.

Main functions

safeai.rge.rge_score(pred_full, pred_reduced, *)

Compute Rank Graduation Explainability between two prediction arrays.

safeai.rge.rge_curve(model, data[, ...])

Compute one Rank Graduation Explainability (RGE) curve and AURGE value.

safeai.rge.aurge_score(model, data[, ...])

Compute only the area under an RGE curve.

safeai.rge.compare_rge(models, class_order, *)

Compare several models using Rank Graduation Explainability (RGE) curves.

safeai.rge.plot_rge(result, *[, model_name, ...])

Plot one RGE curve or a comparison of several RGE curves.