FieldAwareFactorizationMachineModelParameters.GetLatentWeights Method

Definition

Latent representation of each feature. Note that one feature may have FieldCount latent vectors and each latent vector contains LatentDimension values. In the f-th field, the j-th feature's latent vector, v_{j, f} in the doc https://github.com/wschin/fast-ffm/blob/master/fast-ffm.pdf, starts at latentWeights[j * fieldCount * latentDim + f * latentDim]. The k-th element in v_{j, f} is latentWeights[j * fieldCount * latentDim + f * latentDim + k]. The size of the returned value is 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)

Returns

Applies to