Skip to contents

R port of morie.fairness.metrics. Each callable is an audit measure: given decisions a system made (and, where available, the realised ground truth) plus a protected attribute, it quantifies whether outcomes differ across groups. None of these functions make predictions; they only measure disparity in predictions that already exist.

Details

Functions

Prior art reimplemented independently (no code copied): the COMPAS fairness audit in pbiecek's XAI Stories and IBM's AI Fairness 360 definitions; the predictive-policing disparity framing of the SciencesPo Predictive-policing-Chicago project (Lacherade, Szabo, Krikava & Aeby, 2021) and Barman & Barman, arXiv:2603.18987.