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

question about ltr_gan_d_nn_g_nn.py #16

Closed
xf4fresh opened this issue Nov 24, 2017 · 1 comment
Closed

question about ltr_gan_d_nn_g_nn.py #16

xf4fresh opened this issue Nov 24, 2017 · 1 comment

Comments

@xf4fresh
Copy link

xf4fresh commented Nov 24, 2017

感谢给出论文的示例代码. 我有几点疑惑. 如果有空儿希望能帮忙回答下,十分感谢.

关于 ltr-gan/ltr-gan-pointwise/ 目录下的 ltr_gan_d_nn_g_nn.py
变量 query_index_url 给定某个query时,对应的list应该是其对应的所有样本, 包括正负. 那么为什么, 在函数 generate_for_d 中采负样本的时候, 没有排除正样本? 也就是说可能会以一定的概率将正例采样成负例?

generate_for_d函数和generate_dns函数的关系是什么,为什么后者去除了正样本,而前者没有呢?

至于文件 Large_norm.txt. 为了了解MQ2008-semi这个数据集,我谷歌了一下,查到了以下两个网页,但是并没有查到上述文件.

  1. http://www.bigdatalab.ac.cn/benchmark/bm/dd?data=MQ2008-semi
  2. Introducing LETOR 4.0 Datasets
@fukien
Copy link

fukien commented Mar 28, 2018

@xf4fresh
您好,我近期阅读代码,也产生了同样的问题,不知能否向您讨教一下你的理解,万分感谢!

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