Giter VIP home page Giter VIP logo

graph_convolutional_clustering's Introduction

Graph Convolutional Clustering

This repository provides Python (Tensorflow) code to reproduce experiments from the WSDM '22 paper Efficient Graph Convolution for Joint Node Representation Learning and Clustering.

Installation

python setup.py install

Run Experiments

Parameter list

For run.py

Parameter Type Default Description
dataset string cora Name of the graph dataset (cora, citeseer, pubmed or wiki).
power integer 5 First power to test.
runs integer 20 Number of runs per power.
n_clusters integer 0 Number of clusters (0 for ground truth).
max_iter integer 30 Number of iterations of the algorithm.
tol float 10e-7 Tolerance threshold of convergence.

For tune_power.py parameters are the same except for power which is replaced by

Parameter Type Default Description
min_power integer 1 Smallest propagation order to test.
max_power integer 150 Largest propagation order to test.

Best Propagation Orders

Dataset Propagation order
citeseer 5
cora 12
pubmed 150
wiki 4

Example

To adaptively tune the power on Cora use

python gcc/tune_power.py --dataset=cora

To run the model on Cora for power p=12 and have the average execution time

python gcc/run.py --dataset=cora --power 12

Citation

Please cite the following paper if you used GCC in your research

@inproceedings{fettal2022efficient,
  author = {Fettal, Chakib and Labiod, Lazhar and Nadif, Mohamed},
  title = {Efficient Graph Convolution for Joint Node Representation Learning and Clustering},
  year = {2022},
  publisher = {Association for Computing Machinery},
  doi = {10.1145/3488560.3498533},
  booktitle = {Proceedings of the Fifteenth ACM International Conference on Web Search and Data Mining},
  pages = {289โ€“297},
}

graph_convolutional_clustering's People

Contributors

chakib401 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.