Reputation:
I want to extract global features for input graphs. I thought about using node2vec to build embeddings for each node of a graph. How can I use these node embeddings to come up with global features for the graphs? Does averaging the embeddings of all the nodes in a graph and considering the resulting vector the feature vector of the graph seem appropriate?
Upvotes: 5
Views: 457
Reputation: 12627
I would consider two distinct approaches.
Upvotes: 2