From 4c8967cfc93b60cb05917a9f1e089e61c7401bb2 Mon Sep 17 00:00:00 2001 From: for-just-we <1172782111@qq.com> Date: Tue, 20 Apr 2021 16:09:51 +0800 Subject: [PATCH] first commit --- .idea/.name | 1 + .idea/XGNN-impl.iml | 11 + .idea/deployment.xml | 28 + .idea/misc.xml | 7 + .idea/modules.xml | 8 + .idea/workspace.xml | 540 ++ GraphGenerator.py | 216 + Load_dataset.py | 117 + Model.py | 90 + TrainGenerator.py | 86 + __pycache__/GraphGenerator.cpython-38.pyc | Bin 0 -> 5836 bytes __pycache__/Load_dataset.cpython-38.pyc | Bin 0 -> 3716 bytes __pycache__/Model.cpython-38.pyc | Bin 0 -> 2690 bytes check.py | 79 + datas/MUTAG/MUTAG_A.txt | 7442 +++++++++++++++++++++ datas/MUTAG/MUTAG_edge_labels.txt | 7442 +++++++++++++++++++++ datas/MUTAG/MUTAG_graph_indicator.txt | 3371 ++++++++++ datas/MUTAG/MUTAG_graph_labels.txt | 188 + datas/MUTAG/MUTAG_node_labels.txt | 3371 ++++++++++ datas/MUTAG/README.txt | 85 + graphs/myplot1.png | Bin 0 -> 5227 bytes graphs/myplot2.png | Bin 0 -> 5227 bytes graphs/myplot3.png | Bin 0 -> 5974 bytes graphs/myplot4.png | Bin 0 -> 12429 bytes graphs/myplot5.png | Bin 0 -> 12219 bytes graphs/myplot6.png | Bin 0 -> 14260 bytes graphs/myplot7.png | Bin 0 -> 13299 bytes graphs/myplot8.png | Bin 0 -> 13004 bytes graphs/myplot9.png | Bin 0 -> 16063 bytes model/gcn_first.pth | Bin 0 -> 32063 bytes test.py | 29 + train.py | 118 + 32 files changed, 23229 insertions(+) create mode 100644 .idea/.name create mode 100644 .idea/XGNN-impl.iml create mode 100644 .idea/deployment.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/workspace.xml create mode 100644 GraphGenerator.py create mode 100644 Load_dataset.py create mode 100644 Model.py create mode 100644 TrainGenerator.py create mode 100644 __pycache__/GraphGenerator.cpython-38.pyc create mode 100644 __pycache__/Load_dataset.cpython-38.pyc create mode 100644 __pycache__/Model.cpython-38.pyc create mode 100644 check.py create mode 100644 datas/MUTAG/MUTAG_A.txt create mode 100644 datas/MUTAG/MUTAG_edge_labels.txt create mode 100644 datas/MUTAG/MUTAG_graph_indicator.txt create mode 100644 datas/MUTAG/MUTAG_graph_labels.txt create mode 100644 datas/MUTAG/MUTAG_node_labels.txt create mode 100644 datas/MUTAG/README.txt create mode 100644 graphs/myplot1.png create mode 100644 graphs/myplot2.png create mode 100644 graphs/myplot3.png create mode 100644 graphs/myplot4.png create mode 100644 graphs/myplot5.png create mode 100644 graphs/myplot6.png create mode 100644 graphs/myplot7.png create mode 100644 graphs/myplot8.png create mode 100644 graphs/myplot9.png create mode 100644 model/gcn_first.pth create mode 100644 test.py create mode 100644 train.py diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..ec886bb --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +XGNN-impl \ No newline at end of file diff --git a/.idea/XGNN-impl.iml b/.idea/XGNN-impl.iml new file mode 100644 index 0000000..6711606 --- /dev/null +++ b/.idea/XGNN-impl.iml @@ -0,0 +1,11 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/deployment.xml b/.idea/deployment.xml new file mode 100644 index 0000000..26d9004 --- /dev/null +++ b/.idea/deployment.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..1780f9f --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..56c2bfb --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..d0a35b6 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,540 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +