A fairness constraint is a technical or procedural restriction intended to make a model satisfy a defined fairness requirement. It may be implemented through post-processing, changes to the loss function, or explicit mathematical constraints in optimization.
- Post-processing your model's output. - Altering the loss function to incorporate a penalty for violating a fairness metric. - Directly adding a mathematical constraint to an optimization problem.