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 features are generated? #110

Open
geo47 opened this issue Aug 5, 2021 · 5 comments
Open

How features are generated? #110

geo47 opened this issue Aug 5, 2021 · 5 comments

Comments

@geo47
Copy link

geo47 commented Aug 5, 2021

Hello,

Could you please guide how you generated feature embeddings for each node?

More specifically, I guess the feature embedding represents the attribute features of the node. If we use Node2Vec for embedding it only gives the node embedding, however using GraphSAGE we can obtain embedding with node and attributes.

Thanks

@cenyk1230
Copy link
Member

Hi @geo47,

What do feature embeddings mean? Actually, our method is similar to unsupervised GraphSAGE to generate node embeddings with both structural and attribute information. But we mainly focus on the multiplex heterogeneous scenarios.

@geo47
Copy link
Author

geo47 commented Aug 10, 2021

Hi @cenyk1230 ,

Thanks for the reply.

By feature embedding, I mean how you generate the feature embedding in the feature.txt file.

Like, if I want to generate it on my own custom data, how can I do that as I need to generate node embeddings with both structural and attribute information.

Thanks.

@cenyk1230
Copy link
Member

Hi @geo47,

It depends on your dataset. Does your dataset contain node attributes, either continuous or discrete attributes? You can transform the discrete attributes into one-hot encodings and concatenate them with continuous attributes as initial node features.

@geo47
Copy link
Author

geo47 commented Aug 12, 2021

Yes, I have discrete node attributes.
Can you please provide any reference to generate a one-hot encoding representation of node with attributes to generate feature.txt file?

Thanks

@ynyunbest
Copy link

Hello,
Can you please provide any reference to generate a one-hot encoding representation of node with attributes to generate feature.txt file?
Do you have an answer to this question?

Thanks

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

3 participants