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

fm貌似实现的有问题 #6

Open
eonwinner opened this issue Dec 13, 2021 · 1 comment
Open

fm貌似实现的有问题 #6

eonwinner opened this issue Dec 13, 2021 · 1 comment

Comments

@eonwinner
Copy link

fm的k应该是对于每个特征都用一个k向量表示,而这个代码貌似是样本中所有特征的one-hot 然后concat一起,共同用一个k表示,这相当于是每个样本用一个k向量表示了,感觉有些问题

@jc-LeeHub
Copy link
Owner

不懂你说的一个k是什么意思,onehot之后每维特征都对应一个k维隐向量,你思考下V矩阵表达的含义吧。

@jc-LeeHub jc-LeeHub reopened this Mar 3, 2022
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