zhiyzuo / python-modularity-maximization

Python implementation of Newman's spectral methods to maximize modularity.
MIT License
45 stars 25 forks source link

Support for edge weights. #4

Open thelahunginjeet opened 5 years ago

thelahunginjeet commented 5 years ago

I've modified the code to work with edge weights; checked the results of Q by-hand and everything checks out.