Skip to content

Commit 5bf937c

Browse files
committed
Init commit
1 parent d12bed9 commit 5bf937c

18 files changed

+294365
-1
lines changed

.DS_Store

6 KB
Binary file not shown.

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
1-
# HGP-SL
1+
# HGP-SL
2+
Hierarchical Graph Pooling with Structure Learning (AAAI-2020).
3+
4+
This is a PyTorch implementation of the HGP-SL algorithm, which learns a low-dimensional representation for the entire graph. Specifically, the graph pooling operation utilizes node features and graph structure information to perform down-sampling on graphs. Then, a structure learning layer is stacked on the pooling operation, which aims to learn a refined graph structure that can best preserve the essential topological information.
5+
6+
7+
## Requirements
8+
* python3
9+
* torch-scatter
10+
* torch-sparse
11+
* torch-cluster
12+
* torch-geometric
13+
14+
Note:
15+
This code repository is heavily built on [pytorch_geometric](https://github.com/rusty1s/pytorch_geometric), which is a Geometric Deep Learning Extension Library for PyTorch. Please refer [here](https://pytorch-geometric.readthedocs.io/en/latest/) for how to install and utilize the libary.
16+
17+
18+
### Run
19+
To run HGP-SL, just execute the following command for graph classification task:
20+
```
21+
python main.py
22+
```
23+
24+
## Citing
25+
If you find HGP-SL useful for your research, please consider citing the following paper:
26+
```
27+
@inproceedings{zhang2020hierarch,
28+
title={Hierarchical Graph Pooling with Structure Learning.},
29+
author={Zhen Zhang, Jiajun Bu, Martin Ester, Jianfeng Zhang, Chengwei Yao, Zhi Yu, Can Wang},
30+
booktitle={Proceedings of the 34th AAAI Conference on Artificial Intelligence},
31+
year={2020},
32+
organization={AAAI}
33+
}
34+
```

__pycache__/layers.cpython-36.pyc

7.81 KB
Binary file not shown.

__pycache__/models.cpython-36.pyc

1.98 KB
Binary file not shown.
4.72 KB
Binary file not shown.

data/PROTEINS/PROTEINS.zip

Whitespace-only changes.

data/PROTEINS/processed/data.pt

3.17 MB
Binary file not shown.

0 commit comments

Comments
 (0)