Język

FieldAwareFactorizationMachineModelParameters.GetLatentWeights Metoda

Definicja

Utajna reprezentacja każdej funkcji. Należy pamiętać, że jedna funkcja może mieć FieldCount ukryte wektory, a każdy wektor utajny zawiera LatentDimension wartości. W polu f-th funkcja j-th wektor utajny, v_{j, f} w kodzie doc https://github.com/wschin/fast-ffm/blob/master/fast-ffm.pdf, zaczyna się od latentWeights[j * fieldCount * latentDim + f * latentDim]. K-th element w v_{j, f} jest latentWeights[j * fieldCount * latentDim + f * latentDim + k]. Rozmiar zwróconej wartości to featureCount x fieldCount x latentDim.

public System.Collections.Generic.IReadOnlyList<float> GetLatentWeights();
member this.GetLatentWeights : unit -> System.Collections.Generic.IReadOnlyList<single>
Public Function GetLatentWeights () As IReadOnlyList(Of Single)

Zwraca

Dotyczy