How should I do withnegative_sampling()
for bipartite graph
#8323
-
HI, I have a question about
First, I assumed a graph with 3 nodes and a graph with 4 nodes and the function would return negative edges between two graphs. But, the example seems to return edges edges like self-loop, internal edges, edges between graphs. I'm confused with what the funcions do when you give bipartite graph. How should I do to get negative edges between two types of nodes in bipartite graph? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe the example is correct. It looks like a self-loop, but it's an edge from |
Beta Was this translation helpful? Give feedback.
I believe the example is correct. It looks like a self-loop, but it's an edge from
2
(src node type) to2
(dst node type).