7 references to Sigmoid
Microsoft.ML.Data (3)
Utils\LossFunctions.cs (3)
135
float prediction = MathUtils.
Sigmoid
(output);
141
float prediction = MathUtils.
Sigmoid
(output);
160
var fullUpdate = (MathUtils.
Sigmoid
(-label * output) * label - dual) * invariant;
Microsoft.ML.StandardTrainers (1)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
356
return -sign * MathUtils.
Sigmoid
(-margin);
Microsoft.ML.Tests (3)
CalibratedModelParametersTests.cs (1)
146
rawScores[i] = MathUtils.
Sigmoid
(rawScores[i] - averageScore) > 0.5 ? 1 : 0;
FeatureContributionTests.cs (1)
336
rawScores[i] = MathUtils.
Sigmoid
(rawScores[i] - averageScore) > 0.5 ? 1 : 0;
PermutationFeatureImportanceTests.cs (1)
979
rawScores[i] = MathUtils.
Sigmoid
(rawScores[i] - averageScore) > 0.5 ? 1 : 0;