fairlens.sensitive.correlation#
Find correlations between protected columns and non-protected columns.
Functions
This function takes in a series or a column name of a given dataframe and checks whether any of the sensitive attribute columns detected in the dataframe are strongly correlated with the series or the column corresponding to the given name. |
|
Looks at the columns that are not considered to be immediately sensitive and finds if any is strongly correlated with a sensitive column, specifying both the sensitive column name and the sensitive category it is a part of. |