FieldAwareFactorizationMachineModelParameters.GetLatentWeights 方法

定义

每个功能的隐性表示形式。 请注意,一个特征可能具有 FieldCount 潜伏向量,每个延迟向量都包含 LatentDimension 值。 在 f-th 字段中,j-th 特征的内向量 v_{j, f} ,在文档中 https://github.com/wschin/fast-ffm/blob/master/fast-ffm.pdf,从 latentWeights[j * fieldCount * latentDim + f * latentDim] 开始。 v_{j, f} 中的 k-th 元素是 latentWeights[j * fieldCount * latentDim + f * latentDim + k]。 返回值的大小为 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)

返回

适用于