Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
margokhokhlova opened this issue Apr 15, 2020 · 1 comment

Comments

@margokhokhlova
Copy link

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.

@H-Yin
Copy link

H-Yin commented Jul 3, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants