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