Skip to content

clustering (community finding) algorithms (migrated from Trac #158) #160

Closed

Description

@networkx-trac

Original ticket https://networkx.lanl.gov/trac/ticket/158
Reported 2008-05-06 by trac user syzheng, assigned to @hagberg.

I'm wondering if networkx has any plan to add some clustering algorithms in the future version. Clustering/module detection is a frequently used technology in the graph analysis.

Activity

  1. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2008-08-17

  2. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2008-11-22

  3. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Attachment in Trac by trac user jolleycraig, 2009-12-22: community.py

  4. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by trac user jolleycraig, 2009-12-22

    I stumbled across this thread because I had the same question; since the ticket was still open I went ahead and wrote something. It gives back the same results for the karate club network reported in the paper, both with and without the (optional) Kernighan-Lin refinement step, so I'm (tentatively) willing to trust it.

  5. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2010-09-06

    Needs tests and documentation. There are many other "community finding" algorithms in addition to this one.

  6. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by Moritz Beber <moritz.beber, 2011-03-22

    I used your community detection code on some of the networks mentioned in the Newman PNAS publication that is from 2006 and not 2009 btw. Unfortunately, the results are worse than those reported in the paper and in general the algorithm runs really slowly, so I couldn't test it on the larger networks.

    Here are my results:

    Karate N: 34 M: 78 Q: 0.419

    Jazz musicians N: 198 M: 5484 Q: 0.361

    Metabolic N: 453 M: 4596 Q: 0.405

    E-mail N: 1133 M: 5452 Q: 0.552

    The E-mail network already computed in the order of a day so that's a lot slower than what I expected.

  7. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by atanas.kamburov, 2011-06-14

    I (as a user) strongly vote for the inclusion of community finding algorithms in networkx. I can even contribute my own python implementation of the Affinity Propagation CLustering algorithm (by Frey and Dueck), if that would be of interest.

  8. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2011-06-14

    There is a Google Summer of Code project to implement community finding algorithms that has just started. See ticket #557. I don't think we had planned to include the algorithm you mention so that would be a good addition - open another ticket if you would like to add it.

  9. ghost assigned on Dec 29, 2012
  10. hagberg commented on Nov 24, 2017

    @hagberg
    Member

    Closing this issue due to inactivity. Open new issues for clustering algorithms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions