First thanks for the wonderful work you have done. I have a question related to the score function hoping you can help.
In the paper, you use the score function in TransE to predict the score of the triplet. From my understanding, the score function of TransE assumes the scores of positive triplets are smaller than the scores of negative triplets, which is also shown in equation 4.
Hi,
First thanks for the wonderful work you have done. I have a question related to the score function hoping you can help.
In the paper, you use the score function in TransE to predict the score of the triplet. From my understanding, the score function of TransE assumes the scores of positive triplets are smaller than the scores of negative triplets, which is also shown in equation 4.
However, in the implementation, you try to maximize the score of the positive triplets as shown in https://github.com/AnselCmy/MetaR/blob/47897ef0268b2c6c00e211be26a983d201e54565/trainer.py#L123-L132 and sort the candidate scores by descending in https://github.com/AnselCmy/MetaR/blob/47897ef0268b2c6c00e211be26a983d201e54565/trainer.py#L104-L118
So I wonder which is the correct one?