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