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

Can I get the number of output partitions customly? #31

Closed
moorejee opened this issue Apr 25, 2018 · 1 comment
Closed

Can I get the number of output partitions customly? #31

moorejee opened this issue Apr 25, 2018 · 1 comment

Comments

@moorejee
Copy link

Hi, vtraag:
Thanks for your works.
I have a little question that i just get three partitions about my data. So, I want to change the number of clustering output of the louvain methods. Is there any setting I can change to make this work?

@vtraag
Copy link
Owner

vtraag commented Apr 26, 2018

You cannot change immediately the number of clusters itself. However, you can change a so-called resolution parameter. A higher resolution parameter results in more (smaller) communities and a lower resolution parameter results in less (larger) communities. See http://louvain-igraph.readthedocs.io/en/latest/intro.html for more information. The RBConfigurationVertexPartition is the same as ModularityVertexPartition but having such a resolution parameter.

@vtraag vtraag closed this as completed Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants