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

RSGAN中负样本生成的问题 #252

Closed
zhuorson opened this issue Dec 15, 2022 · 1 comment
Closed

RSGAN中负样本生成的问题 #252

zhuorson opened this issue Dec 15, 2022 · 1 comment

Comments

@zhuorson
Copy link

请教您几个问题

  1. 物品的负样本:RSGAN.py中readNegativeFeedbacks(self)要用到/dataset/lastfm/ratings_n.txt。从 dataset文件夹缺少lastfm数据集 #193Implementation and formula problems about RSGAN. #184 中我看到要自己预先生成负样本,您建议的是交互在100以下的算是负样本。那我理解把ratings.txt中第三列小于100都可以归集为负样本,是可以的吧?
  2. 社交用户的负样本:代码中通过元路径的方式在5个元路径中随机游走采样正负样本,但在正文中好像没有这部分内容的描述。我理解您是通过元路径的方式采集了用户的正负样本,这样理解对吗?

盼复,谢谢

@Coder-Yu
Copy link
Owner

你好,

  1. 可以的。不过我后来认为lastfm里面这个值设为100会比较高,建议设置较低的值。
  2. 元路径的设计以及描述请参考我的cikm18论文 Adaptive implicit friends identification over heterogeneous network for social recommendation

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