3 writes to _ratio
Microsoft.ML.Fairlearn (3)
Reductions\UtilityParity.cs (3)
38
_ratio
= 1.0F;
43
_ratio
= 1.0F;
52
_ratio
= ratioBond;
4 references to _ratio
Microsoft.ML.Fairlearn (4)
Reductions\UtilityParity.cs (4)
99
var upperBoundDiff =
_ratio
* expectGroupEvent - expectEvent;
100
var lowerBoundDiff = -1.0 /*to add a negative sign*/ * expectGroupEvent +
_ratio
* expectEvent;
143
var lambdaEvent = (float)(gPos["value"] -
_ratio
* gNeg["value"]).Sum() / ProbEvent;
144
var lambdaGroupEvent = (
_ratio
* gPos["value"] - gNeg["value"]) / ProbGroupEvent;