Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问下deepFM里面的fm部分需要乘xv吗 #4

Open
utopiafar opened this issue Jun 22, 2021 · 1 comment
Open

请问下deepFM里面的fm部分需要乘xv吗 #4

utopiafar opened this issue Jun 22, 2021 · 1 comment

Comments

@utopiafar
Copy link

self.squared_features_emb = tf.square(self.embeddings)

rt,公式第二部分似乎需要乘以下xv,在有数值特征的情况下,这部分的xv不为1,请问下代码第90行的
self.squared_features_emb = tf.square(self.embeddings)
这部分还需要乘以下xv吗
image

@ncku-yee
Copy link

這裡的 self.embeddings 已經是 xv 的結果了,所以他才會直接做 tf.square()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants