leidenalg icon indicating copy to clipboard operation
leidenalg copied to clipboard

Enhancement request: add new modularity functions

Open ivan-marroquin opened this issue 4 years ago • 2 comments

Hi @vtraag

Many thanks for making this great package available!

I was wondering if you are considering to include new modularity-based community detection approaches using, perhaps, density modularity scores. The scores developed by Chen et al. (https://arxiv.org/abs/1507.00787) and Mula and Veltri (https://arxiv.org/abs/1908.08452) seem to be a right addition to your package.

Kind regards, Ivan

ivan-marroquin avatar Nov 19 '21 15:11 ivan-marroquin

Sorry for the late response! I would definitely be open to more quality functions being added to the package. I don't have much time to do that myself at the moment. However, I would be open to accept PRs on this. In principle, contributing a new quality function is not too difficult, the instructions are here.

If I do find some time at some point, I'll try to see if I can implement it myself, but this might take a longer time.

vtraag avatar Dec 16 '21 07:12 vtraag

Hi @vtraag

Thanks for taking into consideration my enhancement request and for providing the link with instructions to implement a new modularity. Unfortunately, I am not a good C++ programmer. But, I searched on internet and found this repository with two density-based modularity scores:

https://github.com/ckmanalytix/modularity-density

Hope this helps,

Ivan

ivan-marroquin avatar Dec 17 '21 13:12 ivan-marroquin