Skip to content

Commit 668f307

Browse files
authored
Update README.md
1 parent 4494757 commit 668f307

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The official Tensorflow implementation of the MinCutPool layer is in
1212
[Spektral](https://graphneural.network/layers/pooling/#mincutpool).
1313

1414
The PyTorch implementation of MinCutPool is in
15-
[Pytorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.dense.mincut_pool.dense_mincut_pool).
15+
[Pytorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.dense.dense_mincut_pool).
1616

1717
## Setup
1818

@@ -42,8 +42,8 @@ to cluster the nodes of a citation network. The datasets `cora`, `citeseer`, and
4242
Results are provided in terms of homogeneity score, completeness score, and
4343
normalized mutual information (v-score).
4444

45-
### Pytorch
46-
[Clustering_pytorch.py](https://github.com/FilippoMB/Spectral-Clustering-with-Graph-Neural-Networks-for-Graph-Pooling/blob/master/Clustering_pytorch.py) contains a basic implementation in Pytorch based on [Pytorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.dense.mincut_pool.dense_mincut_pool).
45+
#### Pytorch
46+
[Clustering_pytorch.py](https://github.com/FilippoMB/Spectral-Clustering-with-Graph-Neural-Networks-for-Graph-Pooling/blob/master/Clustering_pytorch.py) contains a basic implementation in Pytorch based on [Pytorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.dense.dense_mincut_pool).
4747

4848
## Autoencoder
4949

@@ -62,7 +62,7 @@ are supported. Results are provided in terms of the Mean Squared Error.
6262
Run [Graph_Classification.py](https://github.com/FilippoMB/Spectral-Clustering-with-Graph-Neural-Networks-for-Graph-Pooling/blob/master/Graph_Classification.py) to train a graph classifier. Additional classification datasets are available [here](https://chrsmrrs.github.io/datasets/) (drop them in ````data/classification/````) and [here](https://github.com/FilippoMB/Benchmark_dataset_for_graph_classification) (drop them in ````data/````).
6363
Results are provided in terms of classification accuracy averaged over 10 runs.
6464

65-
### Pytorch
65+
#### Pytorch
6666
A basic Pytorch implementation of the graph classification task can be found in this [example](https://github.com/pyg-team/pytorch_geometric/blob/a238110ff5ac772656c967f135fa138add6dabb4/examples/proteins_mincut_pool.py) from Pytorch Geometric.
6767

6868
## Citation

0 commit comments

Comments
 (0)