GraphGym
GraphGym copied to clipboard
Question about ID-GNN
Hello,
I am interested in reproducing the IDGNN's results on node classification. I looked at the code and had a few quick questions
-
When doing node classification, all configurations are in (https://github.com/snap-stanford/GraphGym/blob/master/run/grids/IDGNN/graph.txt )?
-
Is it correct here that dataset.augment_feature feature = 'node_identity' means ID-GNN fast?
-
If 2 is true, May I know where the node identity, i.e. cycle information, is used (position in the code) and how to use in code level?
Thank you so much for taking the time out of your busy schedule.
Hi, thanks for your interest in ID-GNN.
- For node classification, the configs are here: https://github.com/snap-stanford/GraphGym/blob/master/run/grids/IDGNN/node.txt
- Yes, that means ID-GNN fast
- The node identity feature is computed via my implementation here: https://github.com/snap-stanford/GraphGym/blob/master/graphgym/contrib/transform/identity.py
Thank you so much for answering my questions. May I ask one more question?
In https://github.com/snap-stanford/GraphGym/blob/master/graphgym/contrib/layer/idconv.py, class GeneralIDConvLayer's method norm(), what is the role of norm function and norm function's informations?(e.g. fill_value why 1.0 or 2.0)
I'm really sorry to keep asking the question.