2 writes to Slope
Microsoft.ML.Data (2)
Prediction\Calibrator.cs (2)
1711Slope = slope; 1724Slope = ctx.Reader.ReadDouble();
11 references to Slope
Microsoft.ML.Data (9)
Dirty\IniFileUtils.cs (1)
59newEvaluator.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)); 1755ctx.Writer.Write(Slope); 1764writer.WriteLine("A={0:R}", (object)Slope); 1775return PredictProbability(output, Slope, Offset); 1789PfaUtils.Call("+", -Offset, PfaUtils.Call("*", -Slope, input))); 1804var slopVar = ctx.AddInitializer((float)(-Slope), "Slope"); 1828a += cal.Slope;
Microsoft.ML.FastTree (1)
TreeEnsemble\TreeEnsembleCombiner.cs (1)
59paramA = -((PlattCalibrator)calibrated.WeaklyTypedCalibrator).Slope;
Microsoft.ML.Tests (1)
TrainerEstimators\TreeEstimators.cs (1)
123Assert.Equal(sigmoid, -model.Model.Calibrator.Slope);