dssg / aequitas

Bias Auditing & Fair ML Toolkit
http://www.datasciencepublicpolicy.org/aequitas/
MIT License
656 stars 110 forks source link

Issue 165 - Fix for Rounding Issue in adjusted_frac #168

Closed sujith-kamme closed 4 months ago

sujith-kamme commented 4 months ago

I've added a modification in the create_splits method. Specifically, I've included a line to cap the value of adjusted_frac at 1. As Replace="False" by default for sample method, this code fix might be sufficient.