Skip to content

support both fit interfaces for logistic reg metric#19

Merged
MayankAgarwal merged 3 commits intomainfrom
iss15-lrfit
Jul 18, 2022
Merged

support both fit interfaces for logistic reg metric#19
MayankAgarwal merged 3 commits intomainfrom
iss15-lrfit

Conversation

@MayankAgarwal
Copy link
Copy Markdown
Contributor

@MayankAgarwal MayankAgarwal commented Jun 22, 2022

Modifies the LogisticRegressionSensitiveSubspace metric to support both interfaces:

  • passing data_X and data_SensitiveAttrs for fit function, or
  • passing data_X and protected_idxs for cases where protected indices are used in the model

fixes #15

@MayankAgarwal MayankAgarwal self-assigned this Jun 22, 2022
Copy link
Copy Markdown
Contributor

@onkarbhardwaj onkarbhardwaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, simple enough change.

@MayankAgarwal MayankAgarwal merged commit daf9afd into main Jul 18, 2022
@MayankAgarwal MayankAgarwal deleted the iss15-lrfit branch July 18, 2022 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

improve fit interface for logistic regression metric

2 participants