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

Question on the num_feat for ENZYMES dataset #1

Open
lizaitang opened this issue Jun 4, 2023 · 2 comments
Open

Question on the num_feat for ENZYMES dataset #1

lizaitang opened this issue Jun 4, 2023 · 2 comments

Comments

@lizaitang
Copy link

Dear Author, your code really helps a lot. I have a question that seems that node_feature in original dataset is 18, while in the mat you provided is 21, how do you transfer it?

@balcilar
Copy link
Owner

balcilar commented Jun 4, 2023

Thanks for your attention to our paper and code bases. The extra 3 features are the one-hot coding of node type. As it can be seen on the table 4 in the paper (https://arxiv.org/pdf/2003.11702.pdf) there are 18 continuous features and 3 type of nodes. So we encode node type as a categorical features of the nodes. Hope this explanation works for you.

@lizaitang
Copy link
Author

Thank you so much,so where should we add the one hot vector? right after the 18 features?

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