12 references to SampleWeights
Microsoft.ML.FastTree (12)
FastTree.cs (1)
465return TrainSet.SampleWeights != null;
FastTreeTweedie.cs (1)
405var weights = trainingScores.Dataset.SampleWeights;
GamTrainer.cs (3)
152private bool HasWeights => TrainSet?.SampleWeights != null; 304var sumWeights = HasWeights ? TrainSet.SampleWeights.Sum() : 0; 337TrainSet.SampleWeights,
Training\Applications\GradientWrappers.cs (2)
51double[] sampleWeights = objFunction.Dataset.SampleWeights; 72double[] sampleWeights = objFunction.Dataset.SampleWeights;
Training\Parallel\SingleTrainer.cs (1)
54means[l] = partitioning.Mean(weights, dataset.SampleWeights, l, filterZeroLambdas);
Training\Test.cs (1)
535double[] weights = Dataset.SampleWeights;
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (3)
335protected bool HasWeights => TrainData?.SampleWeights != null; 339return TrainData.SampleWeights; 849if (data.SampleWeights != null)