Dear list,
I have a nested, layered state, and would like to do MCMC sampling; but
state.copy(bs=bs, sampling=True)
throws an error (below)... can this be fixed?
Many thanks,
Peter
Traceback (most recent call last):
File "code/model_averaging.py", line 38, in <module>
state = state.copy(bs=bs, sampling=True)
File
"/share/apps/python/gcc6/2.7.12/lib/python2.7/site-packages/graph_tool/inference/nested_blockmodel.py",
line 145, in copy
**kwargs)
File
"/share/apps/python/gcc6/2.7.12/lib/python2.7/site-packages/graph_tool/inference/nested_blockmodel.py",
line 109, in __init__
bstate = state.get_block_state(b=b, **args)
File
"/share/apps/python/gcc6/2.7.12/lib/python2.7/site-packages/graph_tool/inference/layered_blockmodel.py",
line 532, in get_block_state
**kwargs)
File
"/share/apps/python/gcc6/2.7.12/lib/python2.7/site-packages/graph_tool/inference/layered_blockmodel.py",
line 149, in __init__
"layer_entropy"]))
File
"/share/apps/python/gcc6/2.7.12/lib/python2.7/site-packages/graph_tool/inference/blockmodel.py",
line 408, in __init__
str(list(kwargs.keys())))
ValueError: unrecognized keyword arguments: ['copy_bg']
attachment.html (3.01 KB)