I am using the InfoMap algorithm in the igraph
package to perform community detection on a directed and non-weighted graph (34943 vertices, 206366 edges). In the graph, vertices represent websites and edges represent the existence of a hyperlink between websites.
A problem I have encountered after running the algorithm is that the majority of vertices have a membership in a single massive community (32920 or 94%). The rest of the vertices are dispersed into hundreds of other tiny communities.
I have tried different settings with the nb.trials
parameter (i.e. 50, 100, and now running 500). However, this doesn't seem to change the result much.
I am feeling rather exasperated because the run-time on the algorithm is quite high, so I have to wait each time for the results (with no luck yet!!).
Many thanks.
edge.betweenness.community
now but taking a long time. However, all other community detection approaches seem to only support undirected graphs. I am not sure what it means analytically if I perform community detection on the underlying graph. – Leftonedge.betweenness.community
is hopeless for your graph. Try algorithms that scale better. – Indiharinduced.subgraph
and then run InfoMap on the subgraph again. – Archaeologicaledge.betweenness.community
does not scale well. I am writing a paper and need to reference this fact. Is there any literature I can cite? Thank you in advance. – Leftonmultilevel.community
. It scales to pretty large graphs (I'm currently using it on one with 2.5 million edges). It also gives you a hierarchy of communities, so you aren't limited to the single result it chooses with the highest modularity. – Mejias