Hi! I am a complete newbie here and I’m trying to get graph embeddings with GraphSAGE. The graphs I’m working with only have features on the edges and nothing on the nodes. I noticed that GraphSAGE only considers node features but not edges’. I was thinking about a couple approach to this problem:
- modify SAGEConv’s message passing function so that it uses edge features instead of nodes’
- aggregate the edge features to produce node features and then uses SAGEConv as usual (I am worried that this might lose out information on the edges)
- would NNConv be a better choice?
I will be very appreciative of any kind of suggestion! Thank you!