How to predict the directional edges in a heterogeneous network? #2391
wanglu2014
started this conversation in
General
Replies: 1 comment 2 replies
-
This is really similar to our def decode(self, z, edge_index):
z_src, z_dst = z[edge_index[0]], z[edge_index[1]]
return self.mlp(torch.cat([z_src, z_dst], dim=-1)) |
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.
-
Our input data is a table of edges (potential edges) and a list of nodes. Grouptruth is a set of edges that are known to exist.
For example:
edgetable.csv (potential edges)
dst src attr
A B positive
A B negative
A C negative
B D negative
nodetable
type Attr
A type2 5
B type1 3
C type1 2
D type2 5
groundtruth
B D negative
Our purpose is twofold:
Could you kindly recommend relevant ideas and tutorials?
Beta Was this translation helpful? Give feedback.
All reactions