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

Max number of bad cluster iterations is too high #7

Open
justinian336 opened this issue Oct 4, 2021 · 0 comments
Open

Max number of bad cluster iterations is too high #7

justinian336 opened this issue Oct 4, 2021 · 0 comments

Comments

@justinian336
Copy link
Contributor

It often happens that the number of bad clusters does not decrease no matter how much you keep iterating (the bad cluster fix does not change anything). In that case, waiting for 100 iterations before breaking out of the loop is too much. We should be able to exit this loop more smartly. Also, the algorithm should be robust to zero-nodes clusters, in the sense that K should be interpreted as a maximum number of clusters instead of the exact number of communities.

if (counter_bad_cluster >= 100) {

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

1 participant