GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pyrobits/DGCluster

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
plots
plots
 
 
results
results
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
env.yml
env.yml
 
 
install.py
install.py
 
 
main.py
main.py
 
 
plots.py
plots.py
 
 
plots_num_clusters.py
plots_num_clusters.py
 
 
print_results.py
print_results.py
 
 
run.sh
run.sh
 
 
run_alp.sh
run_alp.sh
 
 
run_base_all.sh
run_base_all.sh
 
 
utils.py
utils.py
 
 

Repository files navigation

DGCLUSTER: A Neural Framework for Attributed Graph Clustering via Modularity Maximization

This repository is a reference implementation of DGCluster as described in the paper:

DGCLUSTER: A Neural Framework for Attributed Graph Clustering via Modularity Maximization.
Aritra Bhowmick, Mert Kosan, Zexi Huang, Ambuj Singh, Sourav Medya
Association for the Advancement of Artificial Intelligence (AAAI), 2024.
https://ojs.aaai.org/index.php/AAAI/article/view/28983

Requirements

  • Install Torch from https://pytorch.org/get-started/locally/
  • Run install.py to install the required packages after installing Torch.
python install.py

or

  • Install the required packages from env.yml file with conda.
conda env create -f environment.yml

Reproducing Results

To generate the result for a specific dataset (e.g., cora) and lambda parameter (e.g., 0.2), run the following:

python main.py --dataset cora --lam 0.2

We also provide shell scripts run.sh, run_alp.sh, run_base_all.sh to reproduce all results data for all datasets and parameters. You can just run the following commands to generate the data for the corresponding tables or figures.

  • ./run.sh: Table 2, Table 3, and Figure 1.
  • ./run_alp.sh: Table 5.
  • ./run_base_all.sh: Table 4.

Additionally, plots.py and plots_num_clusters.py can be used to generate Figure 1 and Figure 2.

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

12 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.