语言

RegressionTreeBase.LeftChild 属性

定义

LeftChild[i] 是当 (1) 由 NumericalSplitFeatureIndexes[i] 编制索引的数字特征小于或等于阈值 NumericalSplitThresholds[i] 时使用的 i-th 节点的子索引,或 (2) 由 GetCategoricalCategoricalSplitFeatureRangeAt(Int32)'s returned value with nodeIndex=i 为索引的分类特征不是 nodeIndex=i 的 GetCategoricalSplitFeaturesAt(Int32) 子集。 请注意,这种情况(1)仅在 CategoricalSplitFlags[i] 为 false 时发生,否则会发生 (2)。 非负返回的值表示节点(即,而不是叶):例如,2 表示基础 Microsoft.ML.Trainers.FastTree.RegressionTreeBase._tree中的第三个节点。 负返回的值表示叶;例如,-1 代表 ~基础 Microsoft.ML.Trainers.FastTree.RegressionTreeBase._tree中的第-1个叶。 请注意, ~ 是 C# 中的按位补运算符;有关详细信息,请参阅 https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/bitwise-complement-operator。

public System.Collections.Generic.IReadOnlyList<int> LeftChild { get; }
member this.LeftChild : System.Collections.Generic.IReadOnlyList<int>
Public ReadOnly Property LeftChild As IReadOnlyList(Of Integer)

属性值

适用于