dssg / aequitas

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

Sensitive attribute type check is erroneously expecting object type #182

Open ejm714 opened 4 months ago

ejm714 commented 4 months ago

The README and error raised say that the sensitive attribute column should be in categorical, but passing in a categorical type fails because the code is actually checking if the type is an object (string).

Code example

image (3)

README snippet

image