You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Community Detection Algorithms (migrated from Trac #557) #549
Comment in Trac by Moritz Beber <moritz.beber, 2011-05-29
I'm not sure what the best place for comments on the community algorithm GSoC project is, so I'm trying here. I took the code from ticket [https://networkx.lanl.gov/trac/ticket/158 #158] and made it considerably faster. To test these and other modularity measures I assembled a number of networks into one archive ([http://www.cl.ly/1t3O3O1e0x1X3r1j293k get it from myCloudApp]) and provide a script that prints some information on those networks and shows how to read them in.
The networks that you can test against are the ones shown in table 1 in the following publication:
'''
Cite journal
| doi = 10.1073/pnas.0601602103
| volume = 103
| issue = 23
| pages = 8577 -8582
| last = Newman
| first = M. E. J.
| title = Modularity and community structure in networks
| journal = Proceedings of the National Academy of Sciences
| date = 2006-06-06
'''
Even though much faster I still use the Kernighan-Lin implementation by Jolleycraig and I think that's the reason I don't get the exact same modularity values for the larger networks.
I saw that the Kernighan-Lin was already implemented but I would suggest adding a predefined partition to it. Because Newman uses it to optimize his partitions further.
I downloaded the scripts from the other tickets [https://networkx.lanl.gov/trac/ticket/239 #239] and [https://networkx.lanl.gov/trac/ticket/245 #245] and packed everything into one archive that you can get [http://www.cl.ly/3m2D3Z2j3M453J0v170E here].
Activity
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2011-05-21
This GSoC project will incorporate tickets #239, #158, and #245.
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2011-05-21
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2011-05-21
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @bjedwards, 2011-05-23
A bitbucket repository has been set up to trac changes.
https://bitbucket.org/bedwards/networkx-community
networkx-trac commentedon Jul 20, 2012
Comment in Trac by Moritz Beber <moritz.beber, 2011-05-29
I'm not sure what the best place for comments on the community algorithm GSoC project is, so I'm trying here. I took the code from ticket [https://networkx.lanl.gov/trac/ticket/158 #158] and made it considerably faster. To test these and other modularity measures I assembled a number of networks into one archive ([http://www.cl.ly/1t3O3O1e0x1X3r1j293k get it from myCloudApp]) and provide a script that prints some information on those networks and shows how to read them in.
The networks that you can test against are the ones shown in table 1 in the following publication:
'''
Cite journal
| doi = 10.1073/pnas.0601602103
| volume = 103
| issue = 23
| pages = 8577 -8582
| last = Newman
| first = M. E. J.
| title = Modularity and community structure in networks
| journal = Proceedings of the National Academy of Sciences
| date = 2006-06-06
'''
Even though much faster I still use the Kernighan-Lin implementation by Jolleycraig and I think that's the reason I don't get the exact same modularity values for the larger networks.
I saw that the Kernighan-Lin was already implemented but I would suggest adding a predefined partition to it. Because Newman uses it to optimize his partitions further.
I downloaded the scripts from the other tickets [https://networkx.lanl.gov/trac/ticket/239 #239] and [https://networkx.lanl.gov/trac/ticket/245 #245] and packed everything into one archive that you can get [http://www.cl.ly/3m2D3Z2j3M453J0v170E here].
hagberg commentedon Nov 24, 2017
See #764