1 write to _regTree
Microsoft.ML.FastTree (1)
FastTree.cs (1)
3283
_regTree
= regTree;
17 references to _regTree
Microsoft.ML.FastTree (17)
FastTree.cs (17)
3286
public int[] GtChild =>
_regTree
.GtChild;
3288
public int[] LteChild =>
_regTree
.LteChild;
3290
public int NumNodes =>
_regTree
.NumNodes;
3292
public int NumLeaves =>
_regTree
.NumLeaves;
3296
return
_regTree
.GetLeaf(in feat);
3304
keyValues.Add(NodeKeys.LeafValue,
_regTree
.LeafValue(nodeId));
3312
if (
_regTree
.CategoricalSplit[nodeId])
3315
_regTree
.CategoricalSplitFeatures[nodeId].Select(feature => features[feature]));
3320
keyValues.Add(NodeKeys.SplitName, features[
_regTree
.SplitFeature(nodeId)]);
3323
keyValues.Add(NodeKeys.Threshold, string.Format("<= {0}",
_regTree
.RawThreshold(nodeId)));
3324
if (
_regTree
.SplitGains != null)
3325
keyValues.Add(NodeKeys.SplitGain,
_regTree
.SplitGains[nodeId]);
3326
if (
_regTree
.GainPValues != null)
3327
keyValues.Add(NodeKeys.GainValue,
_regTree
.GainPValues[nodeId]);
3328
if (
_regTree
.PreviousLeafValues != null)
3329
keyValues.Add(NodeKeys.PreviousLeafValue,
_regTree
.PreviousLeafValues[nodeId]);
3337
return
_regTree
.LeafValue(leafId);