Replies: 1 comment 1 reply
-
I think what you can do is not do any thresholding, but instead just sort the predictions based on probability and compare the top-k outcome. You can then measure recall and precision @ k. There is a high chance your |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I'm working with Heterogeneous GNN for Link prediction and using the PyG example from here. I'm using the movie lens as an example and adapting it for other problems.
It took me some time to understand what was happening under the hoods and how to make the final edge prediction of the missing links in my original graph. Actually, I've posted a previous question here on the discussions page exactly to be sure I'm going in the right direction. Now I know that I'm doing it, thanks to the answer to that question.
Now I have a new question for this problem, which is more a problem of understanding the example.
After executing the code from the blog post, I have the following ROC_AUC.
It looks like a very nice result, and I guess, I should have reasonable inferences using this model.
Using the code from the aforementioned question, I am getting new recommendations. Iterating over all users, creating an edge for every movie, and asking the model if the edge is a good recommendation. It's the same code, but I'll post it here for completeness.
My intuition here is if I get a random user (let's say user ID 8) and look for the recommended movies list, I should get back the same movies he previously rated. It means the edge that was used for the model training.
However, I got a bunch of examples, and most of the time, my recommendations are not inferring the original edges used for the training. Is it correct? If so, what should I change if I want more precise predictions?
Let me know if I'm mixing up some concepts here.
Beta Was this translation helpful? Give feedback.
All reactions