Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative Community Algorithm Usage #31

Closed
BradKML opened this issue Oct 24, 2021 · 3 comments
Closed

Alternative Community Algorithm Usage #31

BradKML opened this issue Oct 24, 2021 · 3 comments

Comments

@BradKML
Copy link

BradKML commented Oct 24, 2021

Observing that this repo only uses Leidan, it would not be hard to propose the use of other Community Detection algorithms. One library comes to mind https://cdlib.readthedocs.io/
And for Bipartite communities, there are other libraries that are being integrated GiulioRossetti/cdlib#178 (comment)

@jboynyc
Copy link
Owner

jboynyc commented Oct 26, 2021

Thanks, I wasn't aware of cdlib yet. I will document how to use other community detection algorithms with textnets in a new section of advanced topics I'm adding to the documentation.

I'm not sure what it would mean substantively to use something like Infomap, which makes some different assumptions about the underlying graph. Do you have any thoughts about that?

@BradKML
Copy link
Author

BradKML commented Oct 26, 2021

@jboynyc a major idea of the other algorithms in CDLibs are mainly there for speed-up concerns, but they are all based on some core ideas (e.g. random walks vs modularity vs node similarity). With Infomap and random walks, if two people have similar information flow then they should be in the same community, even if they are not necessarily modularity or partition sensitive (AKA being clustered together). Label Propagation is another class of algorithm that, instead of using walk length, uses network depth to spread labels around, similar to a zombie movie.

There are other algorithms that are specific to bipartite graphs (similar to topic model usage based on term and author), and directed graphs (similar to citation/reference/inspiration). Those are also worth testing and supporting for experimental purposes.

A-classification-of-community-detection-and-graph-clustering-methods-according-to-the

jboynyc added a commit that referenced this issue Nov 4, 2021
@jboynyc
Copy link
Owner

jboynyc commented Nov 4, 2021

The advanced topics section of the documentation now has example code for cdlib and karateclub. Maybe I will add something for scikit-networks after I having a chance to try it out.

Thanks for bringing these projects to my attention!

@jboynyc jboynyc closed this as completed Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants