-
Hi, My understanding of GAE is the capability to generate an embedding which represents an entire graph, but assume I have a graph G with N nodes without any labels, I want to extract an embedding for each node in G. Can you guide me on how to get a node embedding using GAE or if there is another unsupervised method which can handle this? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
GAE will produce node embeddings such that nodes that should be connected to each other have a similar embedding while nodes that are far away from each other should also be far away in the embedding space (similar to Node2Vec but based on GNN as encoder). As such, GAE already returns node-level embeddings as part of its encoder. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer. Assume I have a set of proteins, if I generate a graph of each protein, I pass each graph to GAE and the embedding would be representing the entire protein graph, what about if I have PPI network and I want to generate embedding of each node "protein" here? I checked GAE examples, and what I noticed, it takes the entire graph and generate only one embedding, can you provide me an example how GAE will produce node embeddings in a such scenario as PPI network? I appreciate your assistance. |
Beta Was this translation helpful? Give feedback.
-
Excuse my incorrect understanding but now it is clear. So, if I want to have an embedding for the entire graph should I aggregate all the |
Beta Was this translation helpful? Give feedback.
Excuse my incorrect understanding but now it is clear. So, if I want to have an embedding for the entire graph should I aggregate all the
num_embedding_dim
for all nodes in the graph?