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

confused about the dataset #1

Open
sunnyHelen opened this issue Jun 13, 2019 · 4 comments
Open

confused about the dataset #1

sunnyHelen opened this issue Jun 13, 2019 · 4 comments

Comments

@sunnyHelen
Copy link

Thank you for sharing your work. I'm confused about the dataset you deal with.
edges = pd.read_csv('data/LFR/nets01/network'+str(i)+'.dat', sep='\t', header=None)
groups =pd.read_csv('data/LFR/nets01/community'+str(i)+'.dat', sep='\t', header=None)
Are all the 'network' file and 'community file' belong to the same Graph?
And what the meaning of groups?

@leoguti85
Copy link
Owner

Hello,
So the network_i and the community_i files correspond to the same graph. The difference is that network_i has the edges, so the nodes ids, and community_i encodes the community structure of the network_i, e.g the group or cluster to which the nodes belong to.
Hope it helps!

@sunnyHelen
Copy link
Author

So if my dataset doesn't have community or cluster label, can I use your model to generate a good embedding of a graph?

@leoguti85
Copy link
Owner

Sure, the community in that example is only necessary to put colors on the scatter plot, but learning the graph embedding does not require any community information.

@sunnyHelen
Copy link
Author

Great. Thank you very much~

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