The hitratio and ndcg will be influenced by neg sample numbers. I think the calculation method for these two metrics might be wrong in some way.
The example is when neg sample is 1, the ndcg will larger than 1 and hitratio will always be 1, and when neg sample is rather small, the hitratio will be much smaller.
The hitratio and ndcg will be influenced by neg sample numbers. I think the calculation method for these two metrics might be wrong in some way. The example is when neg sample is 1, the ndcg will larger than 1 and hitratio will always be 1, and when neg sample is rather small, the hitratio will be much smaller.