TasaractDavut Emre Taşar
Go back
Code repository

Fairness Metrics

Wetin e dey do

Two groups fit get positive decisions at the same rate, and the kinds of mistakes wey affect dem fit still differ. This Python example use user ID join predictions, actual results and group membership. The README put selection rates, false positives, false negatives and recall side by side.

One difference dey between the example and the code. When the published function wan count errors among negative decisions, e use group variables wey nobody define. E stop before e fit return the table.

Original documents

Original source · github.com Fairness Metrics for Binary Classification Published Python implementation
How to cite am

Fairness Metrics · https://github.com/detasar/fairness_metrics