node2vec
node2vec copied to clipboard
Q: is it possibly to use the algorithm on a set of non-connected graphs
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.
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!