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 cal |Δndcg| #5

Open
BlackcOVER opened this issue Feb 10, 2020 · 1 comment
Open

question about cal |Δndcg| #5

BlackcOVER opened this issue Feb 10, 2020 · 1 comment

Comments

@BlackcOVER
Copy link

I don't understand why different query in the same batch use the same set of indexes?
model.py line 419
index = tf.reshape(tf.range(1., tf.cast(self.batch_size, dtype=tf.float32) + 1), tf.shape(self.label))

@BlackcOVER BlackcOVER changed the title question about ca question about cal |Δndcg| Feb 10, 2020
@totoyang
Copy link

I also think this is a mistake. index should be sorted according to the score generated by each iteration.

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