├── BA-2motifs.ipynb ├── BA-community.ipynb ├── BA-shapes.ipynb ├── MUTAG.ipynb ├── README.md ├── Test_MUTAG.ipynb ├── Tree-Cycles.ipynb ├── Tree-Grid.ipynb ├── checkpoints ├── ReadMe.md ├── checkpoint ├── gcnMutagenicity.data-00000-of-00001 ├── gcnMutagenicity.index ├── gcnexpaliner_syn1.data-00000-of-00002 ├── gcnexpaliner_syn1.data-00001-of-00002 ├── gcnexpaliner_syn1.index ├── gcnexpaliner_syn2.data-00000-of-00002 ├── gcnexpaliner_syn2.data-00001-of-00002 ├── gcnexpaliner_syn2.index ├── gcnexpaliner_syn3.data-00000-of-00002 ├── gcnexpaliner_syn3.data-00001-of-00002 ├── gcnexpaliner_syn3.index ├── gcnexpaliner_syn4.data-00000-of-00002 ├── gcnexpaliner_syn4.data-00001-of-00002 ├── gcnexpaliner_syn4.index ├── gcnsyn.data-00000-of-00001 ├── gcnsyn.index ├── gcnsyn1.data-00000-of-00002 ├── gcnsyn1.data-00001-of-00002 ├── gcnsyn1.index ├── gcnsyn2.data-00000-of-00002 ├── gcnsyn2.data-00001-of-00002 ├── gcnsyn2.index ├── gcnsyn3.data-00000-of-00002 ├── gcnsyn3.data-00001-of-00002 ├── gcnsyn3.index ├── gcnsyn4.data-00000-of-00002 ├── gcnsyn4.data-00001-of-00002 └── gcnsyn4.index ├── codes ├── Explainer.py ├── Extractor.py ├── __init__.py ├── config.py ├── forgraph │ ├── Explainer.py │ ├── config.py │ ├── inits.py │ ├── layers.py │ ├── metrics.py │ ├── models.py │ └── utils.py ├── inits.py ├── layers.py ├── metrics.py ├── models.py └── utils.py ├── configs ├── ReadMe.md └── ba2motifs.json ├── dataset ├── BA-2motif.pkl ├── Mutagenicity.pkl.zip ├── Mutagenicity.zip ├── ReadMe.md ├── datasets.zip └── pre_process_MUTAG.py ├── train.ipynb └── train_BA-2motif.ipynb /BA-2motifs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/BA-2motifs.ipynb -------------------------------------------------------------------------------- /BA-community.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/BA-community.ipynb -------------------------------------------------------------------------------- /BA-shapes.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/BA-shapes.ipynb -------------------------------------------------------------------------------- /MUTAG.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/MUTAG.ipynb -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/README.md -------------------------------------------------------------------------------- /Test_MUTAG.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/Test_MUTAG.ipynb -------------------------------------------------------------------------------- /Tree-Cycles.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/Tree-Cycles.ipynb -------------------------------------------------------------------------------- /Tree-Grid.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/Tree-Grid.ipynb -------------------------------------------------------------------------------- /checkpoints/ReadMe.md: -------------------------------------------------------------------------------- 1 | pretrain folder. 2 | -------------------------------------------------------------------------------- /checkpoints/checkpoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/checkpoint -------------------------------------------------------------------------------- /checkpoints/gcnMutagenicity.data-00000-of-00001: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnMutagenicity.data-00000-of-00001 -------------------------------------------------------------------------------- /checkpoints/gcnMutagenicity.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnMutagenicity.index -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn1.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn1.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn1.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn1.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn1.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn1.index -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn2.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn2.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn2.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn2.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn2.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn2.index -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn3.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn3.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn3.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn3.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn3.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn3.index -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn4.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn4.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn4.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn4.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnexpaliner_syn4.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnexpaliner_syn4.index -------------------------------------------------------------------------------- /checkpoints/gcnsyn.data-00000-of-00001: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn.data-00000-of-00001 -------------------------------------------------------------------------------- /checkpoints/gcnsyn.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn.index -------------------------------------------------------------------------------- /checkpoints/gcnsyn1.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn1.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn1.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn1.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn1.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn1.index -------------------------------------------------------------------------------- /checkpoints/gcnsyn2.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn2.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn2.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn2.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn2.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn2.index -------------------------------------------------------------------------------- /checkpoints/gcnsyn3.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn3.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn3.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn3.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn3.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn3.index -------------------------------------------------------------------------------- /checkpoints/gcnsyn4.data-00000-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn4.data-00000-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn4.data-00001-of-00002: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn4.data-00001-of-00002 -------------------------------------------------------------------------------- /checkpoints/gcnsyn4.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/checkpoints/gcnsyn4.index -------------------------------------------------------------------------------- /codes/Explainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/Explainer.py -------------------------------------------------------------------------------- /codes/Extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/Extractor.py -------------------------------------------------------------------------------- /codes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/__init__.py -------------------------------------------------------------------------------- /codes/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/config.py -------------------------------------------------------------------------------- /codes/forgraph/Explainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/forgraph/Explainer.py -------------------------------------------------------------------------------- /codes/forgraph/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/forgraph/config.py -------------------------------------------------------------------------------- /codes/forgraph/inits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/forgraph/inits.py -------------------------------------------------------------------------------- /codes/forgraph/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/forgraph/layers.py -------------------------------------------------------------------------------- /codes/forgraph/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/forgraph/metrics.py -------------------------------------------------------------------------------- /codes/forgraph/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/forgraph/models.py -------------------------------------------------------------------------------- /codes/forgraph/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/forgraph/utils.py -------------------------------------------------------------------------------- /codes/inits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/inits.py -------------------------------------------------------------------------------- /codes/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/layers.py -------------------------------------------------------------------------------- /codes/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/metrics.py -------------------------------------------------------------------------------- /codes/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/models.py -------------------------------------------------------------------------------- /codes/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/codes/utils.py -------------------------------------------------------------------------------- /configs/ReadMe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/configs/ReadMe.md -------------------------------------------------------------------------------- /configs/ba2motifs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/configs/ba2motifs.json -------------------------------------------------------------------------------- /dataset/BA-2motif.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/dataset/BA-2motif.pkl -------------------------------------------------------------------------------- /dataset/Mutagenicity.pkl.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/dataset/Mutagenicity.pkl.zip -------------------------------------------------------------------------------- /dataset/Mutagenicity.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/dataset/Mutagenicity.zip -------------------------------------------------------------------------------- /dataset/ReadMe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/dataset/ReadMe.md -------------------------------------------------------------------------------- /dataset/datasets.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/dataset/datasets.zip -------------------------------------------------------------------------------- /dataset/pre_process_MUTAG.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/dataset/pre_process_MUTAG.py -------------------------------------------------------------------------------- /train.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/train.ipynb -------------------------------------------------------------------------------- /train_BA-2motif.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flyingdoog/PGExplainer/HEAD/train_BA-2motif.ipynb --------------------------------------------------------------------------------