3 writes to _instanceWeights
Microsoft.ML.FastTree (3)
TreeEnsemble\InternalQuantileRegressionTree.cs (3)
49_instanceWeights = ctx.Reader.ReadDoubleArray(); 57_instanceWeights = buffer.ToDoubleArray(ref position); 102_instanceWeights = weights;
11 references to _instanceWeights
Microsoft.ML.FastTree (11)
TreeEnsemble\InternalQuantileRegressionTree.cs (11)
23public bool IsWeightedTargets { get { return _instanceWeights != null; } } 66ctx.Writer.WriteDoubleArray(_instanceWeights); 82Contracts.Check(_instanceWeights == null || sampleCount == _instanceWeights.Length / NumLeaves, "Bad quantile weight count"); 89weights[k] = (float)_instanceWeights[j]; 128if (_instanceWeights != null) 129leafSampleWeights[i][j] = _instanceWeights[i * sampleCountPerLeaf + j]; 138return base.SizeInBytes() + _labelsDistribution.SizeInBytes() + (_instanceWeights != null ? _instanceWeights.SizeInBytes() : 0); 145if (_instanceWeights != null) 146_instanceWeights.ToByteArray(buffer, ref position);