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

Reddit adjacency matrix #5

Open
vinaysetty opened this issue Sep 23, 2018 · 1 comment
Open

Reddit adjacency matrix #5

vinaysetty opened this issue Sep 23, 2018 · 1 comment

Comments

@vinaysetty
Copy link

How did you build the reddit_adj.npz file from the reddit data provided here http://snap.stanford.edu/graphsage/? I see thee code to load reddit_adj.npz but in transferRedditDataFormat there is no code to create one. I tried the commented code where adjacency matrix is created from feat_id_map but that crashed because of index mismatch.

@matenure
Copy link
Owner

I tried the commented codes, and it seems to work, although we need to add a little bit codes...
Anyway, I uploaded a new separate file "transformRedditGraph2NPZ.py" and validated it just now.

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