语言

QuantileRegressionTree.GetLeafSampleWeightsAt(Int32) 方法

定义

返回定型标签落入指定叶的权重。 如果 GetLeafSamplesAt(Int32) 并使用 GetLeafSampleWeightsAt(Int32) 相同的输入,则此函数的第 i 个返回值是第 i 个标签的 GetLeafSamplesAt(Int32)权重。

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

指定叶的索引。

返回

训练标签的权重

适用于