-
Notifications
You must be signed in to change notification settings - Fork 400
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
ENH Add mitigation algorithm from "Optimized Pre-Processing for Discrimination Prevention" by Calmon et al. #1028
Comments
Hello @hildeweerts , I would like to work on this. I have some idea on this paper and have already implemented code on this. Can I work on this one? |
Hi @rakesh9177, many thanks for your interest! I will assign this issue to you. I do want to emphasize that adding a new algorithm to Fairlearn is quite a substantial task! Before you spend a lot of time on the actual implementation, I therefore highly highly highly recommend you post your plans (API design etc.) and any other questions you have in this issue thread. We try to adhere to the scikit-learn API conventions as much as we can. As this is a pre-processing algorithm, I'd recommend you check out the implementation of CorrelationRemover as an example. Let me know if anything is unclear at this stage! |
Thank you @hildeweerts , I reviewed the above code of Correlation remover and intend to follow similar structure as scikit-learn implementation. I also reviewed the code implemented in AIF360 I want to implement in such a way that user can use it in below way
My implementation might look like
please let me know your thoughts on this. Thank you! |
Hello @hildeweerts , I opened a pulled request and implemented the algorithm as mentioned above. #1340 Please review and let me know Thanks! |
The paper Optimized Pre-Processing for Discrimination Prevention by Calmon et al. introduces a preprocessing algorithm for demographic parity while limiting the number of individual distortions. The goal of this task is to add the algorithm described in this paper to Fairlearn.
OptimPreproc
.Completing this item requires:
fairlearn.preprocessing
test.unit.preprocessing
docs.user_guide.mitigation.rst
A fully fledged example notebook is not required.
To claim this task please respond below. Of course, you can also ask questions!
The text was updated successfully, but these errors were encountered: