2 writes to ObjectiveFunction
Microsoft.ML.FastTree (2)
BoostingFastTree.cs (1)
97
optimizationAlgorithm.
ObjectiveFunction
= ConstructObjFunc(ch);
RandomForest.cs (1)
49
optimizationAlgorithm.
ObjectiveFunction
= ConstructObjFunc(ch);
8 references to ObjectiveFunction
Microsoft.ML.FastTree (8)
FastTreeRanking.cs (1)
428
OptimizationAlgorithm.
ObjectiveFunction
as LambdaRankObjectiveFunction,
Training\OptimizationAlgorithms\ConjugateGradientDescent.cs (1)
26
_currentGradient =
ObjectiveFunction
.GetGradient(ch, TrainingScores.Scores);
Training\OptimizationAlgorithms\GradientDescent.cs (5)
75
return
ObjectiveFunction
.GetGradient(ch, _scores);
78
return
ObjectiveFunction
.GetGradient(ch, TrainingScores.Scores);
88
double[] targets = _gradientWrapper.AdjustTargetAndSetWeights(GetGradient(ch),
ObjectiveFunction
, out targetWeights);
117
else if (
ObjectiveFunction
is IStepSearch)
118
(
ObjectiveFunction
as IStepSearch).AdjustTreeOutputs(ch, tree, TreeLearner.Partitioning, TrainingScores);
Training\OptimizationAlgorithms\NoOptimizationAlgorithm.cs (1)
34
double[] weightedTargets = _gradientWrapper.AdjustTargetAndSetWeights(targets,
ObjectiveFunction
, out sampleWeights);