Compartilhar via


FieldAwareFactorizationMachineModelParameters.GetLatentWeights Método

Definição

Representação latente de cada recurso. Observe que um recurso pode ter FieldCount vetores latentes e cada vetor latente contém LatentDimension valores. No campo f-th, o vetor latente do recurso j-th, v_{j, f} no documento https://github.com/wschin/fast-ffm/blob/master/fast-ffm.pdf, começa em latentWeights[j * fieldCount * latentDim + f * latentDim]. O elemento k-th em v_{j, f} é latentWeights[j * fieldCount * latentDim + f * latentDim + k]. O tamanho do valor retornado é 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)

Retornos

Aplica-se a