7 implementations of Loss
Microsoft.ML.Data (7)
Utils\LossFunctions.cs (7)
133public Double Loss(float output, float label) 239public Double Loss(float output, float label) 348public Double Loss(float output, float label) 447public Double Loss(float output, float label) 489public Double Loss(float output, float label) 542public Double Loss(float output, float label) 624public Double Loss(float output, float label)
9 references to Loss
Microsoft.ML.Core.Tests (2)
UnitTests\TestLoss.cs (2)
40Double loss = lossFunc.Loss((float)output, (float)label); 50Double almostLoss = lossFunc.Loss(almostOutput, (float)label);
Microsoft.ML.Data (3)
Evaluators\MultiOutputRegressionEvaluator.cs (1)
262_fnLoss[i] += _lossFunction.Loss(score[i], label[i]) * wht;
Evaluators\QuantileRegressionEvaluator.cs (1)
236(int slot, float src, ref Double dst) => dst = LossFunction.Loss(src, label);
Evaluators\RegressionEvaluator.cs (1)
152loss = LossFunction.Loss(score, label);
Microsoft.ML.StandardTrainers (4)
Standard\Online\AveragedLinear.cs (1)
226Double loss = _loss.Loss(output, label);
Standard\SdcaBinary.cs (2)
982Double subLoss = Loss.Loss(output, cursor.Label); 2085Double subLoss = lossFunc.Loss(WScaledDot(in features, weightScaling, in weights, bias), cursor.Label);
Standard\SdcaMulticlass.cs (1)
397subLoss += _loss.Loss(labelOutput - currentClassOutput, 1);