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)
99var upperBoundDiff = _ratio * expectGroupEvent - expectEvent; 100var lowerBoundDiff = -1.0 /*to add a negative sign*/ * expectGroupEvent + _ratio * expectEvent; 143var lambdaEvent = (float)(gPos["value"] - _ratio * gNeg["value"]).Sum() / ProbEvent; 144var lambdaGroupEvent = (_ratio * gPos["value"] - gNeg["value"]) / ProbGroupEvent;