-
Notifications
You must be signed in to change notification settings - Fork 466
Open
Labels
Description
The paper Fairness Constraints: Mechanisms for Fair Classification by Zafar et al. introduces a constrained learning algorithm for demographic parity. The goal of this task is to implement the logistic regression algorithm described in this paper in Fairlearn.
- An existing Python implementation of the authors can be found here.
- The paper describes two different formulations: (1) maximizing accuracy under fairness constraints, and (2) maximizing fairness under accuracy constraints. We can choose one of them (I think (1) is most natural) or implement both.
- I would suggest to design the API similar to
sklearn.linear_model.LogisticRegression
.
Completing this item requires:
- technique code in
fairlearn.linear_model
(this is my suggestion following scikit-learn, but the specific naming is up for discussion). - unit tests in
test.unit.linear_model
- descriptive API reference (directly in the docstring)
- a short user guide in
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!
Closely related to #1027