Język

QuantileRegressionTree.GetLeafSampleWeightsAt(Int32) Metoda

Definicja

Zwróć wagi etykiet treningowych spadających do określonego liścia. Jeśli GetLeafSamplesAt(Int32) i GetLeafSampleWeightsAt(Int32) użyj tych samych danych wejściowych, zwracana wartość i-th tej funkcji jest wagą etykiety i-th w elem.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)

Parametry

leafIndex
Int32

Indeks określonego liścia.

Zwraca

Wagi etykiet treningowych

Dotyczy