Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leiden Clustering implementation #186

Closed
narendrachaudhary51 opened this issue Apr 27, 2021 · 6 comments
Closed

Leiden Clustering implementation #186

narendrachaudhary51 opened this issue Apr 27, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@narendrachaudhary51
Copy link

narendrachaudhary51 commented Apr 27, 2021

Following from issue #70
I saw that in previous version of Galois ("git clone https://github.com/IntelligentSoftwareSystems/Galois"), there is an implementation of leiden clustering under clustering folder (Galois/lonestar/analytics/cpu/clustering). Why was this removed in the latest version? Can you please add it again?

Last commit with leiden clustering in message.

commit ce78fe5
Author: Udit Agarwal [email protected]
Date: Tue Apr 28 13:55:32 2020 -0500

corrected the implementation of leiden clustering
@arthurp
Copy link
Contributor

arthurp commented Apr 27, 2021

We are unlikely to have time for this for a bit, but we'll take a look at it when we have time.

@narendrachaudhary51
Copy link
Author

Hi @arthurp,
Additionally, the binaries do not seem to provide any partition output. Other louvain and leiden algorithm (from different python packages) implementations seem to provide graph partitions. Is it available in the newer binaries of the Louvain algorithm? What I should do to obtain graph partitions if they are not available with binaries?

@arthurp
Copy link
Contributor

arthurp commented Apr 29, 2021

The clusters are represented as a new property containing integer cluster IDs. Is this not acceptable for your use case? Do you want a new graph for each cluster? We could add a separate operation which partitions a graph based on a property (as created by the clustering algorithms). If that would be helpful, please file a separate issue. It's a good idea I think. Though it may not be applicable to large graphs (millions of nodes) because there could be a huge number of clusters and the operation could consume too much memory to be useful.

@narendrachaudhary51
Copy link
Author

I didn't understand the purpose of --output_CID option earlier. I may be able to work with it. Thank you for mentioning it.

@arthurp arthurp added enhancement New feature or request good first issue Good for newcomers labels May 1, 2021
@GioLomia
Copy link
Contributor

Shouldn't this be closed considering #544 ?

@uditagar
Copy link
Contributor

Implemented now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants