node2vec icon indicating copy to clipboard operation
node2vec copied to clipboard

Q: is it possibly to use the algorithm on a set of non-connected graphs

Open margokhokhlova opened this issue 4 years ago • 1 comments

Hello! I want to try to apply the algorithm on a set of graphs, and I don't want to introduce extra links to connected the data. I would be really grateful if you can share your opinion, whether I can calculate the walks on all the separate graphs and then train the model on them. Thank you very much in advance.

margokhokhlova avatar Apr 15 '20 09:04 margokhokhlova

From the code in lines 50~51 of src/node2vec.py , we can get a message that all nodes or sub-graphs will be trained with this model. So, you don't need to worry about it. Just run it!

H-Yin avatar Jul 03 '20 09:07 H-Yin