1 write to Weights
Microsoft.ML.FastTree (1)
Dataset\FeatureHistogram.cs (1)
159Weights = weights;
16 references to Weights
Microsoft.ML.FastTree (16)
Dataset\DenseIntArray.cs (3)
95fixed (double* pSampleWeights = input.Weights) 329SumupRoot(histogram, input.Outputs, input.Weights); 343fixed (double* pWeights = input.Weights)
Dataset\IntArray.cs (3)
221Contracts.Assert((input.Weights == null) == (histogram.SumWeightsByBin == null)); 246Contracts.AssertValue(input.Weights); 259histogram.SumWeightsByBin[featureBin] += input.Weights[i];
Dataset\RepeatIntArray.cs (2)
224fixed (double* pWeightsFixed = input.Weights) 261fixed (double* pWeightsFixed = input.Weights)
Dataset\SegmentIntArray.cs (1)
557fixed (double* pSampleOuputWeights = input.Weights)
Dataset\SparseIntArray.cs (5)
308Contracts.Assert(input.Weights != null); 319FloatType weight = (FloatType)input.Weights[currentPos]; 399Contracts.Assert(input.Weights != null); 411fixed (double* pWeights = input.Weights) 506fixed (double* pSampleWeights = input.Weights)
SumupPerformanceCommand.cs (2)
248if (data.Weights == null) 260wsum += (data.Weights[i] = (FloatType)(2 * rgen.NextDouble() - 1));