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

How can I use my own data set for embedding operations? #9

Open
rwN8Z8n3 opened this issue Aug 11, 2019 · 2 comments
Open

How can I use my own data set for embedding operations? #9

rwN8Z8n3 opened this issue Aug 11, 2019 · 2 comments

Comments

@rwN8Z8n3
Copy link

rwN8Z8n3 commented Aug 11, 2019

Thanks for your wonderful contribution. But I don't see how to build a dataset in the form of sample you give. Can you tell me how I should build my dataset for embedding?

@HongyangGao
Copy link
Collaborator

Hi, it depends on your raw data. The key idea is to produce node features for each node in graph and generate the adjacency matrix to use.

@rwN8Z8n3
Copy link
Author

Thanks for your help! However, in your code (utils.py), there are seven small data files (like ['x', 'y', 'tx', 'ty', 'allx', 'ally', 'graph']) as input, how should I preprocess my network files to the corresponding format?

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