1 write to TotalLabelSquaredW
Microsoft.ML.Data (1)
Evaluators\RegressionEvaluatorBase.cs (1)
167
TotalLabelSquaredW
+= label * label * weight;
3 references to TotalLabelSquaredW
Microsoft.ML.Data (3)
Evaluators\QuantileRegressionEvaluator.cs (1)
117
res[i.Key] = 1 - i.Value / (
TotalLabelSquaredW
- TotalLabelW * TotalLabelW / SumWeights);
Evaluators\RegressionEvaluator.cs (2)
109
if ((
TotalLabelSquaredW
- TotalLabelW * TotalLabelW / SumWeights) == 0)
111
return 1 - TotalL2Loss / (
TotalLabelSquaredW
- TotalLabelW * TotalLabelW / SumWeights);