3 writes to TotalL2Loss
Microsoft.ML.Data (3)
Evaluators\QuantileRegressionEvaluator.cs (2)
128
TotalL2Loss
= VBufferUtils.CreateDense<Double>(size);
143
var totalL2LossEditor = VBufferEditor.CreateFromBuffer(ref
TotalL2Loss
);
Evaluators\RegressionEvaluator.cs (1)
121
TotalL2Loss
+= currL1Loss * currL1Loss * weight;
5 references to TotalL2Loss
Microsoft.ML.Data (5)
Evaluators\QuantileRegressionEvaluator.cs (2)
102
foreach (var i in
TotalL2Loss
.Items())
116
foreach (var i in
TotalL2Loss
.Items())
Evaluators\RegressionEvaluator.cs (2)
97
return SumWeights > 0 ? Math.Sqrt(
TotalL2Loss
/ SumWeights) : 0;
111
return 1 -
TotalL2Loss
/ (TotalLabelSquaredW - TotalLabelW * TotalLabelW / SumWeights);
Evaluators\RegressionEvaluatorBase.cs (1)
142
Normalize(in
TotalL2Loss
, ref res);