-
Hello, Thank you for your time, and thank you for making such a useful library. |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Feb 27, 2023
Replies: 1 comment 1 reply
-
What you can do is run your GNN as normal, and define the edges you are trying to predict as part of row = torch.tensor([user_i] * num_movies)
col = torch.arange(num_movies)
edge_label_index = torch.stack([row, col], dim=0) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tirzak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What you can do is run your GNN as normal, and define the edges you are trying to predict as part of
edge_label_index
. So if you want to make predictions for a single user but all movies, that would be