Cinderella1001
Cinderella1001
I wonder that how the datasets item_vector.npy (dimension (38342, 150)) and user_vector.npy (dimension is (17237, 150)) are obtained. Looking forward to your reply, I will be very grateful.
您好!我对在使用社交网络和兴趣网络更新用户表示过程中,注意力分数的计算有些疑问。 首先, 从以上代码可以看出 gama^(k+1)_(a1) =1/2* self.consumed_items_attention,gama^(k+1)_(a2) =1/2* self.social_neighbors_attention。gama^(k+1)_(a1)和gama^(k+1)_(a2)也确实是利用了使用到MLP的GAT实现的。 我看到您论文中提及, 说alpha^(k+1)_(ab)和beta^(k+1)_(ai)的计算过程也是和gama的计算过程类似,使用MLP借助两个embedding得到。但是,我去看了源码中beta^(k+1)_(ai)的计算过程,我发现,beta与gama的计算过程存在差别,感觉并没有借助两个embedding,倒像是随机产生的。 期待您的回复!
为什么每个用户要选取truncate_len个交互的物品,每个用户选取truncate_len个朋友呢?