3 writes to _labelsDistribution
Microsoft.ML.FastTree (3)
TreeEnsemble\InternalQuantileRegressionTree.cs (3)
46
_labelsDistribution
= ctx.Reader.ReadDoubleArray();
56
_labelsDistribution
= buffer.ToDoubleArray(ref position);
101
_labelsDistribution
= labelsDistribution;
10 references to _labelsDistribution
Microsoft.ML.FastTree (10)
TreeEnsemble\InternalQuantileRegressionTree.cs (10)
65
ctx.Writer.WriteDoubleArray(
_labelsDistribution
);
81
Contracts.Check(sampleCount ==
_labelsDistribution
.Length / NumLeaves, "Bad quantile sample count");
88
distribution[k] = (float)
_labelsDistribution
[j];
95
distribution[k] = (float)
_labelsDistribution
[j];
116
var sampleCountPerLeaf =
_labelsDistribution
!= null ?
_labelsDistribution
.Length / NumLeaves : 1;
123
if (
_labelsDistribution
!= null)
124
leafSamples[i][j] =
_labelsDistribution
[i * sampleCountPerLeaf + j];
138
return base.SizeInBytes() +
_labelsDistribution
.SizeInBytes() + (_instanceWeights != null ? _instanceWeights.SizeInBytes() : 0);
144
_labelsDistribution
.ToByteArray(buffer, ref position);