Share via


RegressionTreeBase.GetCategoricalCategoricalSplitFeatureRangeAt(Int32) Method

Definition

Return categorical thresholds' range used at node indexed by nodeIndex. A categorical split at node indexed by nodeIndex can consider multiple consecutive input features at one time; their range is specified by GetCategoricalCategoricalSplitFeatureRangeAt(Int32). The returned value is always a 2-element array; its 1st element is the starting index and its 2nd element is the endining index of a feature segment. The returned value is valid only if CategoricalSplitFlags[nodeIndex] is true.

public System.Collections.Generic.IReadOnlyList<int> GetCategoricalCategoricalSplitFeatureRangeAt (int nodeIndex);
member this.GetCategoricalCategoricalSplitFeatureRangeAt : int -> System.Collections.Generic.IReadOnlyList<int>
Public Function GetCategoricalCategoricalSplitFeatureRangeAt (nodeIndex As Integer) As IReadOnlyList(Of Integer)

Parameters

nodeIndex
Int32

Returns

Applies to