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)
65ctx.Writer.WriteDoubleArray(_labelsDistribution); 81Contracts.Check(sampleCount == _labelsDistribution.Length / NumLeaves, "Bad quantile sample count"); 88distribution[k] = (float)_labelsDistribution[j]; 95distribution[k] = (float)_labelsDistribution[j]; 116var sampleCountPerLeaf = _labelsDistribution != null ? _labelsDistribution.Length / NumLeaves : 1; 123if (_labelsDistribution != null) 124leafSamples[i][j] = _labelsDistribution[i * sampleCountPerLeaf + j]; 138return base.SizeInBytes() + _labelsDistribution.SizeInBytes() + (_instanceWeights != null ? _instanceWeights.SizeInBytes() : 0); 144_labelsDistribution.ToByteArray(buffer, ref position);