pymetrics / audit-ai

detect demographic differences in the output of machine learning models or other assessments
MIT License
312 stars 46 forks source link

added quick bias check fn using np.percentile #7

Closed dwww2012 closed 6 years ago

dwww2012 commented 6 years ago

basically the same function as here: https://github.com/pymetrics/databarn/blob/a0d14cc905467ca75e9316f45e92a5a0b17943e7/databarn/modelbuilding/refresh.py#L530

albeit without explicitly listing gender or ethnicity

VishalMurali commented 6 years ago

For consistency with plotting functions we could set standard deviation to 0.