1 write to _labels
Microsoft.ML.FastTree (1)
FastTreeTweedie.cs (1)
388
_labels
= GetDatasetRegressionLabels(trainData);
7 references to _labels
Microsoft.ML.FastTree (7)
FastTreeTweedie.cs (7)
390
for (int i = 0; i <
_labels
.Length; ++i)
392
if (
_labels
[i] < 0)
393
_labels
[i] = 0;
420
num += w *
_labels
[i];
431
num += w *
_labels
[i] * Math.Exp(_index1 * s);
467
Gradient[i] = Math.Exp(Scores[i]) -
_labels
[i];
476
Gradient[i] = Math.Exp(_index2 * Scores[i]) -
_labels
[i] * Math.Exp(_index1 * Scores[i]);