FieldAwareFactorizationMachineModelParameters.GetLatentWeights Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for