nd7141 / bgnn

MIT License
168 stars 32 forks source link

how to get the graphml file? #3

Open gaoshang19 opened 2 years ago

gaoshang19 commented 2 years ago

Hey ,Thanks for ur work! I am trying to run ur model on my dataset.But i dont know how to get the graphml file.Any advices?

nd7141 commented 2 years ago

You can use networkx for this: https://networkx.org/documentation/stable/reference/readwrite/graphml.html

gdevos010 commented 2 years ago

@nd7141 I'm also interested in this. Could you explain how you created a graph for the house dataset. I'm not sure how you would turn that into a graph

jithin-k-sreedharan commented 2 years ago

Can you please share the code you used to generate the graphml file? Especially for House dataset. @nd7141 I would like to see what radius values you have used, and how exactly you created them? Further, I see there're no node labels in the X and y CSV files. How do we make sure that the row k in X and y corresponds to node k in the graph? Any code that can be shared will be of great help @nd7141