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)
390for (int i = 0; i < _labels.Length; ++i) 392if (_labels[i] < 0) 393_labels[i] = 0; 420num += w * _labels[i]; 431num += w * _labels[i] * Math.Exp(_index1 * s); 467Gradient[i] = Math.Exp(Scores[i]) - _labels[i]; 476Gradient[i] = Math.Exp(_index2 * Scores[i]) - _labels[i] * Math.Exp(_index1 * Scores[i]);