aestrivex/bctpy

modularity_louvain_und: Modularity Infinite Loop Style C

celinede opened this issue · 4 comments

Hello,
I have spend some time trying to figure out what was causing Modularity Infinite Loop Style C. Please contact the developer with this error. in modularity_louvain_und.
In case someone also gets stuck with that modularity_louvain_und_sign provides a more explicit error message for the same error: Infinite Loop was detected and stopped. This was probably caused by passing in a directed matrix.
Anyway thanks for translating all those functions into python !
Céline

I met the same problem. A related error was “invalid value encountered in true_divide
q[h] = np.trace(W) / s - gamma * np.sum(np.dot(W / s, W / s))
” Any solutions?

Did you find a solution for this problem celinede?

No, I'm not working on that anymore ....

Sorry for the very long delay, but I need an example matrix that is failing.