Am 13.07.22 um 01:28 schrieb Siwei Zhang:
Hello,I have a question about minimize_nested_blockmodel_dl(). The below is my code:state_args = {'clabel': node_types, 'pclabel': node_types} multilevel_mcmc_args = {'niter': niter, 'beta': beta} state = gt.minimize_nested_blockmodel_dl( g, deg_corr = True, overlap = False, state_args = state_args, multilevel_mcmc_args = multilevel_mcmc_args )And I encountered an error that "minimize_nested_blockmodel_dl got an unexpected keyword argument 'multilevel_mcmc_args'". I removed "multilevel_mcmc_args" and it works. And I also tried example "|minimize_blockmodel_dl(G, multilevel_mcmc_args=dict(B_min=4, B_max=4))|" in https://git.skewed.de/count0/graph-tool/-/issues/725 <https://git.skewed.de/count0/graph-tool/-/issues/725> and I encountered the same error. I took a look of the source code of graph-tool and I did not find where is the problem. Could you please help me about it? Thanks!
I cannot reproduce this. What version of graph-tool are you using? -- Tiago de Paula Peixoto <ti...@skewed.de>
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list -- graph-tool@skewed.de To unsubscribe send an email to graph-tool-le...@skewed.de