4 writes to _splitGain
Microsoft.ML.FastTree (4)
TreeEnsemble\InternalRegressionTree.cs (4)
87
_splitGain
= new double[maxLeaves - 1];
122
_splitGain
= buffer.ToDoubleArray(ref position);
201
_splitGain
= splitGain;
309
_splitGain
= reader.ReadDoubleArray();
13 references to _splitGain
Microsoft.ML.FastTree (13)
TreeEnsemble\InternalRegressionTree.cs (13)
57
public double[] SplitGains { get { return
_splitGain
; } }
408
writer.WriteDoubleArray(
_splitGain
);
500
checker(Utils.Size(
_splitGain
) == 0 ||
_splitGain
.Length == numMaxNodes, "bad splitgain length");
520
_splitGain
.SizeInBytes() +
550
_splitGain
.ToByteArray(buffer, ref position);
570
Math.Abs(
_splitGain
[node] - tree.
_splitGain
[node]) > 1e-6))
582
_splitGain
[node],
583
tree.
_splitGain
[node],
1054
_splitGain
[indexOfNewNonLeaf] = gain;
1213
sbSplitGain.Append(
_splitGain
[n].ToString() + toAppend);
1362
result[SplitFeatures[n]] +=
_splitGain
[n];