the ndcg&map score are too small when using torch_geometric.metrics #9305
Unanswered
EtherealClarity
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The two metrics are not necessarily comparable. In the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
According to the example of torch_geometric/metrics/link_pred.py and test/metrics/test_link_pred_metric.py, I write the code below
The question is why two score too small.
next is supplementary information, the data is divided by
The statistics about the data are
And I use this function in
The console output is

The questions are that I do not know whether I write wrong or not and what can I do to enhance both score.
But when I use the methods in sklearn to calculate ndcg and map, it works fine.
Beta Was this translation helpful? Give feedback.
All reactions