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

graph datasets #2

Open
Usama113 opened this issue Aug 31, 2022 · 1 comment
Open

graph datasets #2

Usama113 opened this issue Aug 31, 2022 · 1 comment

Comments

@Usama113
Copy link

Hi,
I could not find the graph classification datasets Mutagenicity and NCI1 in the repo. Could you please point me. Also, when loaded from the ckpt folder, each graph of Mutagenicity dataset have [100,100] dense representation of Adj matrix. According to my findings, some graphs in Mutagenicity dataset have variable number of nodes in a graph some exceeding 100 nodes per graph. In that case the Adj matrix will not [100,100]. Could you please also share how the dense representation of Adj was created. Thanks in advance.

@haolanut
Copy link
Collaborator

haolanut commented Sep 18, 2022

Hi,

GNNExplainer use a fixed graph size of 100 nodes and skips all graphs that have more than 100 nodes. We use GNNExplainer's code to process the dataset and train the graph classification model. Then, we save the processed dataset and graph classification model parameters into the checkpoint. In orphicx, we directly load the checkpoint and then train our explainer.

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