2 writes to Slope
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
1711
Slope
= slope;
1724
Slope
= ctx.Reader.ReadDouble();
11 references to Slope
Microsoft.ML.Data (9)
Dirty\IniFileUtils.cs (1)
59
newEvaluator.AppendLine("Weights=" + -calibrator.
Slope
);
Prediction\Calibrator.cs (8)
1674
/// P(x) = 1 / (1 + exp(<see cref="PlattCalibrator.
Slope
"/> * x + <see cref="PlattCalibrator.Offset"/>)
1725
_host.CheckDecode(FloatUtils.IsFinite(
Slope
));
1755
ctx.Writer.Write(
Slope
);
1764
writer.WriteLine("A={0:R}", (object)
Slope
);
1775
return PredictProbability(output,
Slope
, Offset);
1789
PfaUtils.Call("+", -Offset, PfaUtils.Call("*", -
Slope
, input)));
1804
var slopVar = ctx.AddInitializer((float)(-
Slope
), "Slope");
1828
a += cal.
Slope
;
Microsoft.ML.FastTree (1)
TreeEnsemble\TreeEnsembleCombiner.cs (1)
59
paramA = -((PlattCalibrator)calibrated.WeaklyTypedCalibrator).
Slope
;
Microsoft.ML.Tests (1)
TrainerEstimators\TreeEstimators.cs (1)
123
Assert.Equal(sigmoid, -model.Model.Calibrator.
Slope
);