pyg-team/pytorch_geometric

Add bipartite graph support to `structured_negative_sampling`

Open

#7,799 opened on 2023幎7月24日

GitHub で芋る
 (6 comments) (1 reaction) (1 assignee)Python (3,514 forks)batch import
featurehelp wantedsamplerutils

Repository metrics

Stars
 (19,985 stars)
PR merge metrics
 (平均マヌゞ 35d 1h) (30d で 14 merged PRs)

説明

🚀 The feature, motivation and pitch

Hello, First and foremost, I apologize for potentially misplacing this issue in the wrong section. When working with the negative sampling part and the necessity to use the function "structured_negative_sampling" there might be inaccuracies when dealing with a bipartite graph. This issue becomes more evident if the number of nodes on the right side of the bipartite graph exceeds the number of nodes on the left side. For instance, consider the movie dataset, which consists of 6000 users and 4000 items, often employed in link prediction and recommender systems. I'm uncertain whether adding this feature falls within the scope of this library. However, I bring it up because, in the contribution section, you mentioned that we should address any uncertainties with you.

Alternatives

No response

Additional context

No response

コントリビュヌタヌガむド