-
Notifications
You must be signed in to change notification settings - Fork 33
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
Question about clustering results #25
Comments
Could you please provide a minimal reproducible example? Then we might be able to debug any problem. Without being able to replicate the problem, we also cannot solve it. |
You can find below some input and output txt files for replicating the issue. The command I execute is:
The output message from networkanalysis is:
However, I count 1018 clusters in the file net_clusters_res50.txt, with many clusters less than 50 items. Thanks for your help. |
There are two separate issues here:
The first item should be solved, I've opened a PR in #27 for this. The second item cannot be solved in this case. That is, your network contains several components (1006, to be precise). The algorithm will never create clusters larger than the individual components. This will not be changed. It might be a possibility to check connected components and provide a warning if the connected components are smaller than the minimum desired community size. However, this also means that more time is spent in checking this, so there should at least be an option to turn it off. What do you think @neesjanvaneck ? |
Hi,
Thanks for this fantastic package!
I have an issue related to the output of the clustering algorithm.
I have runned the following code in python:
The output message announces 829 clusters and 760 clusters after removing clusters consisting of fewer than 20 nodes.
However when I open the file clusters.txt:
Many thanks in advance for your explanation.
The text was updated successfully, but these errors were encountered: