Does Decagon regard the relation and its corresponding reverse one as different relations?
ZillaRU opened this issue · 2 comments
Typically, DDI prediction is a pairwise classification problem.
In the given toy example, you artificially generate a small graph.
My concern is that Decagon seems to treat a DDI and its corresponding reverse one as two different edges. But, I am confused by how to calculate the metrics with the predicted results for potential DDI triplets and the reverse ones.
For instance, "Drug A's metabolism is increased when combined with Drug B" (symbolized as triplet (A, metabolism increased, B)
) is semantically equal to the reverse one "Drug B can increase the metabolism of Drug A" (symbolized as triplet (B, increase metabolism, A)
).
Lines 140 to 145 in 86ff6b1
If the model gives different scores for both triplets, how to calculate the final metric values. By simply keeping predicted results for both groups?
I have run this code on my real-world datasets and got the predicted result.
Since Decagon regards the relation and its corresponding reverse one as different relations, for each triplet, there are two predicted scores. Did you calculate the performance metric values reported in your paper based on both?
I have run this code on my real-world datasets and got the predicted result. Since Decagon regards the relation and its corresponding reverse one as different relations, for each triplet, there are two predicted scores. Did you calculate the performance metric values reported in your paper based on both?
Lines 295 to 302 in 86ff6b1
But, you seem to calculate the metrics for the relation and the corresponding reverse one separately. Finally, which is reported in your paper?