1 write to Gradient
Microsoft.ML.FastTree (1)
Training\Applications\ObjectiveFunction.cs (1)
51
Gradient
= new double[Dataset.NumDocs];
9 references to Gradient
Microsoft.ML.FastTree (9)
FastTreeClassification.cs (1)
382
fixed (double* pLambdas =
Gradient
)
FastTreeRanking.cs (2)
749
Array.Clear(
Gradient
, begin, numDocuments);
784
fixed (double* pLambdas =
Gradient
)
FastTreeRegression.cs (1)
466
Gradient
[i] = _labels[i] - Scores[i];
FastTreeTweedie.cs (2)
467
Gradient
[i] = Math.Exp(Scores[i]) - _labels[i];
476
Gradient
[i] = Math.Exp(_index2 * Scores[i]) - _labels[i] * Math.Exp(_index1 * Scores[i]);
RandomForestClassification.cs (1)
399
Gradient
[i] = _labels[i] ? 1 : -1;
RandomForestRegression.cs (1)
535
Gradient
[i] = _labels[i];
Training\Applications\ObjectiveFunction.cs (1)
81
return
Gradient
;