There are some posts on how to fix the maximum number of blocks when inferring the structure of the network, but I am having some problems with it. Despite initializing a BlockState with 30 blocks and setting B_max = 30, I keep getting a different number of communities. Here’s the code I am using, any ideas on what might be the cause?
Please update to the current version of the library, the one you’re using is ancient.
If you still encounter the same problem with the current version, you need to provide a minimal working example (MWE) that shows the problem. The MWE needs to be
Self-contained. I.e. it cannot depend on any other context or resource. If it depends on files, they need to be provided.
Minimal. I.e. it needs to include only what is necessary to reproduce the problem.
This is very important! If you provide us only with a vague description, or only with the part of the code that you believe causes the problem, then it is not possible to understand the context that may have contributed to it.
You need to provide us with a complete example that runs and reproduces the problem you are observing.