tensorflow-LTR icon indicating copy to clipboard operation
tensorflow-LTR copied to clipboard

question about cal |Δndcg|

Open BlackcOVER opened this issue 6 years ago • 1 comments

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 avatar Feb 10 '20 16:02 BlackcOVER

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

totoyang avatar Aug 17 '20 07:08 totoyang