Hi Tiago, Tiago Peixoto wrote
I cannot reproduce this.
As you should have learned by now, we can only make any progress understanding problems like this if you provide at least some _minimial_ information, such as the version of graph-tool that is being used, as well as a complete example that shows the problem (in this case, we need the actual network used.)
Of course, the network is attached ( graph_1950_clean.zip <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027139/graph_1950_clean.zip> ) and here is the script that I ran ( model_class_selection_test.py <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027139/model_class_selection_test.py> ) Tiago Peixoto wrote
Did you read the documentation?
If you want to use the layered model, you have to supply the edge covariates, i.e.
state = gt.minimize_blockmodel_dl(g, deg_corr=deg_corr, overlap=overlap, layers=True, state_args=dict(ec=eprop))
You are right, this is in the cookbook, I could have spotted that myself. I was looking only at the documentation. Thanks for the explanation though. Best, Philipp -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.