fairlearn.reductions.LossMoment#
- class fairlearn.reductions.LossMoment(loss)[source]#
Moment that can be expressed as weighted loss.
Added in version 0.3.0.
- gamma(predictor)[source]#
Calculate the degree to which constraints are currently violated by the predictor.
- Return type:
- property index: MultiIndex | Index#
Return a pandas (multi-)index listing the constraints.