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

Can be applied to large-scale graph? #7

Open
un0o7 opened this issue Oct 20, 2022 · 1 comment
Open

Can be applied to large-scale graph? #7

un0o7 opened this issue Oct 20, 2022 · 1 comment

Comments

@un0o7
Copy link

un0o7 commented Oct 20, 2022

I think that this work cannot be applied to large-scale graphs for the reason that calculating the adj through your method needs eigen decomposition and to_dense() method needs large memory available.
eig_value, left_vector = scipy.linalg.eig(p_ppr.numpy(),left=True,right=False) p_dense = torch.sparse.FloatTensor(edge_index, p, torch.Size([num_nodes,num_nodes])).to_dense()

@hosseinghorbanzadeh
Copy link

Yes, it can be used

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