4 writes to _gainPValue
Microsoft.ML.FastTree (4)
TreeEnsemble\InternalRegressionTree.cs (4)
88_gainPValue = new double[maxLeaves - 1]; 123_gainPValue = buffer.ToDoubleArray(ref position); 202_gainPValue = gainPValue; 310_gainPValue = reader.ReadDoubleArray();
9 references to _gainPValue
Microsoft.ML.FastTree (9)
TreeEnsemble\InternalRegressionTree.cs (9)
58public double[] GainPValues { get { return _gainPValue; } } 409writer.WriteDoubleArray(_gainPValue); 501checker(Utils.Size(_gainPValue) == 0 || _gainPValue.Length == numMaxNodes, "bad gainpvalue length"); 521_gainPValue.SizeInBytes() + 551_gainPValue.ToByteArray(buffer, ref position); 1055_gainPValue[indexOfNewNonLeaf] = gainPValue; 1187StringBuilder sbGainPValue = _gainPValue != null ? new StringBuilder("\nGainPValue=") : null; 1214sbGainPValue?.Append(_gainPValue[n].ToString("0.000e00") + toAppend);