Hi, I have a graph with around 9500 nodes and 37000 edges. I want to
determine the SBM corresponding to this network, but when I run
minimize_blockmodel_dl function on it, I get a 'killed:9' error. I checked
the memory consumption and it exceeded 50 GB at one point.
Is this expected? Or is there something I am doing wrong?
If you look in your file, there are node indexes that are huge,
eg. 100049587.
So after you add your edges, the graph will have more than 100 million
nodes, the vast majority of which have degree zero.
So what you need to do is to map these non-contiguous vertices to a
contiguous range. You can do this by hand, or you can add the
add_edge_list() function that does it for you if you pass the
hashed=True parameter: