Skip to content

Simultaneous graph signal clustering and multiview graph learning

License

Notifications You must be signed in to change notification settings

SPLab-aviyente/GRASCale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRASCale

Python implementation of simultaneous GRAph Signal Clustering And graph LEarning (GRASCale) algorithm presented in [1].

Installation

Once you download the repo, go to the repo directory and start a terminal. First, create an environment and then install the required packages listed in requirements.txt. This can be done as follows for conda:

conda create -n grascale python=3.10
conda activate grascale

This will create a conda environment. To install the requirements:

pip install -r requirements.txt

Usage

Please see experiment1.py under scripts folder for an illustration about how to use the code. The script includes data generation process of experiment 1 from the paper and shows how to run GRASCale on the generated simulated data. To run the script first start a terminal on the repo directory, then:

conda activate grascale
python scripts/experiment1.py

It will print F1 score, NMI and density of the learned graphs associated with clusters. The script for the experiment 2 of the paper will also be published soon.

References

About

Simultaneous graph signal clustering and multiview graph learning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages