語言

RegressionTreeBase.GetCategoricalSplitFeaturesAt(Int32) 方法

定義

回傳節點所使用的類別閾值,nodeIndex 索引。 如果所考慮的輸入特徵與 所 GetCategoricalSplitFeaturesAt(Int32)回傳的任何值不匹配,我們稱之為小於閾值事件,因此 LeftChild[nodeIndex] 是該輸入接下來應該前往的子節點。 回傳的值僅在 [nodeIndex] 為真時 CategoricalSplitFlags才有效。

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

參數

nodeIndex
Int32

傳回

適用於