state.copy(bs=bs, sampling=True) throws error
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']
On 19.01.2017 05:56, Peter Straka wrote:
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?
Posterior sampling with hierarchical layered states is not yet implemented... But it will be soon. -- Tiago de Paula Peixoto <tiago@skewed.de>
Thanks for your quick responses Tiago On Thu, 19 Jan 2017 at 20:51 Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 19.01.2017 05:56, Peter Straka wrote:
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?
Posterior sampling with hierarchical layered states is not yet implemented... But it will be soon.
-- Tiago de Paula Peixoto <tiago@skewed.de> _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
-- Dr Peter Straka Research Fellow (DECRA) School of PEMS | UNSW Canberra Google Scholar <https://scholar.google.com.au/citations?user=BV5PkWUAAAAJ&hl=en&authuser=1> E: p.straka@unsw.edu.au T: +61 (2) 938*5 7024 *| +1 313 757 0137
participants (2)
-
Peter Straka -
Tiago de Paula Peixoto