Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented generic l-p norm relaxations for equalized-odds #9

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

AndreFCruz
Copy link
Member

Credited @kschweig for the commits as well, as this is another way to implement the average_abs_odds_difference proposed in PR #8. That constraint is now achievable by setting l_p_norm=1.

This way we avoid creating more if statements for a new constraint.

Closes #8

Co-authored-by: Kajetan Schweighofer <kai.schweighofer@gmx.at>
@kschweig
Copy link
Contributor

Very neat solution!

Co-authored-by: Kajetan Schweighofer <kai.schweighofer@gmx.at>
@AndreFCruz AndreFCruz merged commit f3c4c9f into socialfoundations:main Apr 24, 2024
5 checks passed
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.

2 participants