4 implementations of AdjustTargetAndSetWeights
Microsoft.ML.FastTree (4)
Training\Applications\GradientWrappers.cs (4)
16
public virtual double[]
AdjustTargetAndSetWeights
(double[] gradient, ObjectiveFunctionBase objFunction, out double[] targetWeights)
31
public virtual double[]
AdjustTargetAndSetWeights
(double[] gradient, ObjectiveFunctionBase objFunction, out double[] targetWeights)
48
public virtual double[]
AdjustTargetAndSetWeights
(double[] gradient, ObjectiveFunctionBase objFunction, out double[] targetWeights)
68
public virtual double[]
AdjustTargetAndSetWeights
(double[] gradient, ObjectiveFunctionBase objFunction, out double[] targetWeights)
2 references to AdjustTargetAndSetWeights
Microsoft.ML.FastTree (2)
Training\OptimizationAlgorithms\GradientDescent.cs (1)
88
double[] targets = _gradientWrapper.
AdjustTargetAndSetWeights
(GetGradient(ch), ObjectiveFunction, out targetWeights);
Training\OptimizationAlgorithms\NoOptimizationAlgorithm.cs (1)
34
double[] weightedTargets = _gradientWrapper.
AdjustTargetAndSetWeights
(targets, ObjectiveFunction, out sampleWeights);