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
I would like to know if this code keeps structures between iterations to build a dendrogram after executing Leiden or Louvain.
If so, can you pinpoint it? I would be more than happy to add it as a function. This code is an efficient implementation that is worth experimenting with more.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello @atmughrabi thanks for your interest. I use two separate vectors to keep track of the community membership of each vertex in original and the super-vertex graph, called ucom and vcom.
To capture the dendrogram (after each pass), you could keep a copy of ucom after the first pass, and a copy of vcom after further passes. To capture the community membership of each vertex after each pass (i.e., flattened dendrogram), you could simply keep a copy of ucom after each pass.
Since I am not an active project member, I will create a fork and do my modifications there. I want to ensure your code stays tidy. Once I add this function, I'll let you review it. If you are interested, you can add it as a feature later on while following your standards/style.
Hello,
I would like to know if this code keeps structures between iterations to build a dendrogram after executing Leiden or Louvain.
If so, can you pinpoint it? I would be more than happy to add it as a function. This code is an efficient implementation that is worth experimenting with more.
Thanks!
The text was updated successfully, but these errors were encountered: