Skip to content

#8 ENH Add mitigation algorithm from - #21

Open
Aryan1296 wants to merge 3 commits into
usarfoss:mainfrom
Aryan1296:issue-2-fix
Open

#8 ENH Add mitigation algorithm from #21
Aryan1296 wants to merge 3 commits into
usarfoss:mainfrom
Aryan1296:issue-2-fix

Conversation

@Aryan1296

Copy link
Copy Markdown

#8 ENH Add mitigation algorithm from
This pull request implements the pre-processing mitigation algorithm described in the paper "Optimized Pre-Processing for Discrimination Prevention" by Calmon et al. This algorithm is a powerful addition to Fairlearn's mitigation toolkit, as it works to achieve group fairness (demographic parity) while simultaneously constraining the amount of distortion introduced to individual data points.

The implementation is based on the original work by the authors and is similar to the OptimPreproc algorithm found in AI Fairness 360.

This PR addresses all the requirements outlined in the corresponding issue, including the core algorithm, unit tests, API documentation, and a user guide entry.

Checklist of Changes:
Algorithm Implementation: The OptimizedPreproc class has been added to fairlearn.preprocessing.

Unit Tests: A comprehensive suite of unit tests has been created in test.unit.preprocessing to validate the algorithm's functionality and correctness.

API Documentation: The class docstring includes a detailed API reference explaining the parameters, attributes, and methods, making it easy for users to integrate.

User Guide: A new section has been added to docs.user_guide.mitigation.rst to briefly explain the technique and guide users on its application.

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.

1 participant