7 implementations of Loss
Microsoft.ML.Data (7)
Utils\LossFunctions.cs (7)
133
public Double
Loss
(float output, float label)
239
public Double
Loss
(float output, float label)
348
public Double
Loss
(float output, float label)
447
public Double
Loss
(float output, float label)
489
public Double
Loss
(float output, float label)
542
public Double
Loss
(float output, float label)
624
public Double
Loss
(float output, float label)
9 references to Loss
Microsoft.ML.Core.Tests (2)
UnitTests\TestLoss.cs (2)
40
Double loss = lossFunc.
Loss
((float)output, (float)label);
50
Double 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)
152
loss = LossFunction.
Loss
(score, label);
Microsoft.ML.StandardTrainers (4)
Standard\Online\AveragedLinear.cs (1)
226
Double loss = _loss.
Loss
(output, label);
Standard\SdcaBinary.cs (2)
982
Double subLoss = Loss.
Loss
(output, cursor.Label);
2085
Double subLoss = lossFunc.
Loss
(WScaledDot(in features, weightScaling, in weights, bias), cursor.Label);
Standard\SdcaMulticlass.cs (1)
397
subLoss += _loss.
Loss
(labelOutput - currentClassOutput, 1);