語言

RegressionTreeBase.GetCategoricalCategoricalSplitFeatureRangeAt(Int32) 方法

定義

回傳節點在nodeIndex所使用的類別閾值範圍。 節點的類別分割由 nodeIndex 索引,可以同時考慮多個連續輸入特徵;其範圍由 GetCategoricalCategoricalSplitFeatureRangeAt(Int32)表示。 回傳的值總是為 2 元素陣列;其第一元素是起始索引,第二元素是特徵段的內丁索引。 回傳的值僅在 [nodeIndex] 為真時 CategoricalSplitFlags才有效。

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)

參數

nodeIndex
Int32

傳回

適用於