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