-
Notifications
You must be signed in to change notification settings - Fork 59
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
fit_transform tries to query non-existent node "0" #32
Comments
Looking at the code, it seems to be related to the particular way the nodes are passed for prediction inside the fit_transform method in the node2vec implementation. Not sure why, but the predictions are performed using a np.arange. This range won't reflect the actual nodes in the graph, so an exception is raised. The other embedders don't do that. |
Thanks, I'll take a look this week. |
should be fixed in latest release, please update and confirm |
Still not working.
I can see there is still a |
Any new info about this problem? im having the exact same issue.. |
or one might know a way around it? |
The workaround is to fit and predict separately.
|
Not working for me! Will do fit and predict. |
Output:
Fitting and then predicting works fine:
Output:
The text was updated successfully, but these errors were encountered: