Nested Block State hierarchy level after mcmc_equilibrate

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Nested Block State hierarchy level after mcmc_equilibrate

ilyco
I ran mcmc_equilibrate on a nested block state model in a weighted graph. As
per instructions, I copied the initially computed state in another object
with increased hierarchy depth to 10. However, this fixed the depth to 10.
Everything computed afterwards has depth 10 even if is clear that after 3 or
4 levels the nodes converge to one.

There are many empty branches and when I try to plot it with empty_branches
= False, I get an error stating it is not a tree.
RuntimeError: Invalid hierarchical tree: No path from source to target.

Did anybody perform any similar analyses?

The hierarchy after mcmc_equilibrate:
<NestedBlockState object, with base &lt;BlockState object with 24 blocks (24
nonempty), degree-corrected, with 1 edge covariate, for graph &lt;Graph
object, undirected, with 230 vertices and 11230 edges, edges filtered by
(&lt;PropertyMap object with key type 'Edge' and value type 'bool', for
Graph 0x7fc3a89f1210, at 0x7fc3a64911d0>, False), vertices filtered by
(<PropertyMap object with key type 'Vertex' and value type 'bool', for Graph
0x7fc3a89f1210, at 0x7fc3a64912d0>, False) at 0x7fc3a89f1210>, at
0x7fc3a6491950>, and 10 levels of sizes [(230, 24), (24, 5), (5, 1), (1, 1),
(1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (1, 1)] at 0x7fc3a6491590>





--
Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool
Reply | Threaded
Open this post in threaded view
|

Re: Nested Block State hierarchy level after mcmc_equilibrate

Tiago Peixoto
Administrator
On 31.10.2017 15:33, ilyco wrote:
> There are many empty branches and when I try to plot it with empty_branches
> = False, I get an error stating it is not a tree.
> RuntimeError: Invalid hierarchical tree: No path from source to target.

Which version are you using?

Please provide a minimal and self-contained example that shows the problem.

Best,
Tiago

--
Tiago de Paula Peixoto <[hidden email]>


_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool

signature.asc (849 bytes) Download Attachment
--
Tiago de Paula Peixoto <tiago@skewed.de>