GraphSAGE icon indicating copy to clipboard operation
GraphSAGE copied to clipboard

SNAP Network -> GraphSAGE JSON files

Open sidmasta11 opened this issue 6 years ago • 3 comments

Hello,

What is the best way to create the various input files necessary from a SNAP Network with attributes for unsupervised learning and supervised learning?

Is the best practice to go from SNAP Network -> NetworkX Object -> GraphSAGE JSON files or SNAP Network -> GraphSAGE JSON files?

Thank You

sidmasta11 avatar Aug 28 '19 02:08 sidmasta11

The GraphSAGE json files are just numpy arrays of features, adjacency etc. So you don't have to go through the intermediate networkx format. Simple read the text file of SNAP network, and convert it into numpy arrays, before using json.dump

RexYing avatar Sep 18 '19 18:09 RexYing

I agree with the original post that this section (and the answer given above) is not very clear in the README.md. Can you please provide more detail on this format?

cj2001 avatar Oct 16 '19 18:10 cj2001

Is there anything other than the input format section in README needed? what details and which format you are not sure about?

RexYing avatar Oct 17 '19 04:10 RexYing