4 writes to SplitFeatures
Microsoft.ML.FastTree (4)
TreeEnsemble\InternalRegressionTree.cs (4)
85
SplitFeatures
= new int[maxLeaves - 1];
106
SplitFeatures
= buffer.ToIntArray(ref position);
200
SplitFeatures
= splitFeatures;
277
SplitFeatures
= reader.ReadIntArray();
35 references to SplitFeatures
Microsoft.ML.FastTree (35)
RegressionTree.cs (1)
165
_numericalSplitFeatureIndexes = ImmutableArray.Create(_tree.
SplitFeatures
, 0, _tree.NumNodes);
TreeEnsemble\InternalRegressionTree.cs (34)
374
writer.WriteIntArray(
SplitFeatures
);
445
checker(
SplitFeatures
!= null &&
SplitFeatures
.Length == numMaxNodes, "bad split feature length");
513
SplitFeatures
.SizeInBytes() +
533
SplitFeatures
.ToByteArray(buffer, ref position);
569
SplitFeatures
[node] != tree.
SplitFeatures
[node] ||
580
SplitFeatures
[node],
581
tree.
SplitFeatures
[node],
644
return
SplitFeatures
[node];
750
if (featureBins[
SplitFeatures
[node]] <= Thresholds[node])
769
if (binnedInstance[
SplitFeatures
[node]] <= Thresholds[node])
873
float fv = GetFeatureValue(nonBinnedInstance[
SplitFeatures
[node]], node);
905
float fv = GetFeatureValue(nonBinnedInstance[
SplitFeatures
[node]], node);
964
int ifeat =
SplitFeatures
[node];
1037
SplitFeatures
[indexOfNewNonLeaf] = feature;
1095
dataset.MapFeatureToFlockAndSubFeature(
SplitFeatures
[n], out flock, out subfeature);
1112
dataset.MapFeatureToFlockAndSubFeature(
SplitFeatures
[n], out flock, out subfeature);
1136
Contracts.Assert(0 <=
SplitFeatures
[n] &&
SplitFeatures
[n] < oldToNewFeatures.Length);
1137
SplitFeatures
[n] = oldToNewFeatures[
SplitFeatures
[n]];
1201
if (!featureToId.ContainsKey(
SplitFeatures
[n]))
1204
sbInput.Append(featureContents.GetContent(
SplitFeatures
[n]));
1207
featureToId.Add(
SplitFeatures
[n], featureToId.Count + 1);
1210
sbFeatures.Append("I:" + featureToId[
SplitFeatures
[n]] + toAppend);
1316
string name = featureNames[
SplitFeatures
[n]];
1352
return PfaUtils.If(PfaUtils.Call("<=", PfaUtils.Index(feat,
SplitFeatures
[node]), RawThresholds[node]), lte, gt);
1362
result[
SplitFeatures
[n]] += _splitGain[n];
1487
int splitFeature1 =
SplitFeatures
[pos1];
1492
SplitFeatures
[pos1] =
SplitFeatures
[pos2];
1497
SplitFeatures
[pos2] = splitFeature1;
1600
int ifeat =
SplitFeatures
[node];