FieldAwareFactorizationMachineModelParameters.GetLatentWeights 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
每个功能的隐性表示形式。 请注意,一个特征可能具有 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)