Closed akastrin closed 5 years ago
I'm a little confused about "training graph" and "testing graph". If you were saying the two graphs are different, then none of the embedding methods included in this package can handle such cases. You need to rerun the method on the "testing graph". If you just want to train the model and then use it to compute the embedding for "unseen nodes". Then, you should refer to some "inductive graph embedding methods". E.g, [1] Revisiting Semi-Supervised Learning with Graph Embeddings [2] Inductive Representation Learning on Large Graphs
Thanks, Xiang
Hi,
Suppose that we have two graphs, namely training and a test graph. I wonder (1) how to train the node2vec (or any other method) model on the training graph and (2) later use this model for computing embeddings from the test graph.
The important code chunk goes as follows:
Regards, Andrej