QuantileRegressionTree.GetLeafSampleWeightsAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將訓練標籤歸還,當標籤落入指定葉子時。 若 GetLeafSamplesAt(Int32) 與 GetLeafSampleWeightsAt(Int32) 使用相同輸入,則該函數第 i 個回傳值為第 GetLeafSamplesAt(Int32)i 個標籤的權重。
public System.Collections.Generic.IReadOnlyList<double> GetLeafSampleWeightsAt(int leafIndex);
member this.GetLeafSampleWeightsAt : int -> System.Collections.Generic.IReadOnlyList<double>
Public Function GetLeafSampleWeightsAt (leafIndex As Integer) As IReadOnlyList(Of Double)
參數
- leafIndex
- Int32
指定葉子的索引。
傳回
訓練標籤的權重