Skip to content

Refactor roc_curve_by_attr to use one thresholds for all the sensitive attribute values #15

@shlomihod

Description

@shlomihod

If different sensitive attribute values use different thresholds, the equalized odds intervention won't be sync across the values.

Therefore, an updated version of roc_curve from sklearn should be used, that takes the global thresholds and generate (fpr,tpr) for each sensitive attribute value:

https://github.com/scikit-learn/scikit-learn/blob/7b136e92acf49d46251479b75c88cba632de1937/sklearn/metrics/ranking.py#L535

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions