fairlens.sensitive.detection#
Identify legally protected attributes in a dataset.
Functions
Detects the sensitive columns in a dataframe or string list and creates a dictionary which maps the attribute names to the corresponding sensitive category name (such as Gender, Religion etc). |
|
Changes the configuration that creates the underlying synonym and possible value dictionaries on which the shallow and deep search algorithms for sensitive attributes are based. |