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 about data augmentation #56

Open
Struggle-Forever opened this issue Aug 31, 2022 · 1 comment
Open

Question about data augmentation #56

Struggle-Forever opened this issue Aug 31, 2022 · 1 comment

Comments

@Struggle-Forever
Copy link

Question about data augmentation: When subgraph augmentation is performed, essentially only the enge_index is modified. This means that only the subgraph is aggregated for information propagation. What puzzles me is that when computing the graph level features, the pooling function involves the features of all nodes of the graph (selected subgraph nodes and unselected nodes), does this make sense? Isn't the pooling at this point only considering subgraphs?

@yyou1996
Copy link
Collaborator

yyou1996 commented Sep 3, 2022

Hi @Struggle-Forever,

Please refer to an instantiation of the subgraph augmentation #24 (comment). We would drop the non-selected nodes via, e.g. data.x = data.x[idx_nondrop] where the pooling function is operated on.

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