Closed xizero00 closed 4 years ago
Hi, Thanks for sharing your great work. I have a question about the calculation of Hits metric which is not consistent with other's implementation. In your project: you use the rankdata function from scipy, it ranks the data by ascending order.
rankdata([0, 2, 3, 2], method='ordinal') array([ 1., 2., 4., 3.])
Other project: ranking the score by the descending order.
In your project: https://github.com/daiquocnguyen/CapsE/blob/master/evalCapsE.py#L219-L229 Other project: https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/blob/master/codes/model.py#L395-L417
You paper says:
Hi, Thanks for sharing your great work. I have a question about the calculation of Hits metric which is not consistent with other's implementation. In your project: you use the rankdata function from scipy, it ranks the data by ascending order.
Other project: ranking the score by the descending order.
In your project: https://github.com/daiquocnguyen/CapsE/blob/master/evalCapsE.py#L219-L229 Other project: https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/blob/master/codes/model.py#L395-L417
You paper says: