2 writes to Offset
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
1712Offset = offset; 1727Offset = ctx.Reader.ReadDouble();
9 references to Offset
Microsoft.ML.Data (9)
Dirty\IniFileUtils.cs (1)
56newEvaluator.AppendLine("Bias=" + -calibrator.Offset);
Prediction\Calibrator.cs (8)
1674/// P(x) = 1 / (1 + exp(<see cref="PlattCalibrator.Slope"/> * x + <see cref="PlattCalibrator.Offset"/>) 1728_host.CheckDecode(FloatUtils.IsFinite(Offset)); 1756ctx.Writer.Write(Offset); 1765writer.WriteLine("B={0:R}", Offset); 1775return PredictProbability(output, Slope, Offset); 1789PfaUtils.Call("+", -Offset, PfaUtils.Call("*", -Slope, input))); 1809var betaVar = ctx.AddInitializer((float)(-Offset), "Offset"); 1829b += cal.Offset;