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

model AFM parameter in build_network() #20

Open
caowencai opened this issue Aug 14, 2019 · 1 comment
Open

model AFM parameter in build_network() #20

caowencai opened this issue Aug 14, 2019 · 1 comment

Comments

@caowencai
Copy link

  1. 代码实现中num_hidden没用上
  2. 看起来是把特征嵌入的维度与注意力嵌入的向量维度都设置为num_factor=16了
    我理解num_hidden是特征嵌入维度参数,num_factor是注意力嵌入维度参数吧?
@caowencai
Copy link
Author

caowencai commented Aug 14, 2019

另外,请教一下valid_dim=3的作用,
默认应该是全排列,向量两两之间进行计算,所有特征都应该计算注意力。
valid_dim的作用就是人为筛选前面的部分特征用来计算注意力,是这样吧?

如果用途是筛选good features interaction,按照原作者以及你的实现方式,特征排序前面的valid_dim个特征就代表了注意力筛选的good features,这样的话特征排序也有必要?

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

1 participant