I don't have the prior for how the layers should be grouped together. I suppose I need equation 18 also? Are all of these implemented in graph-tool? If so, can you specify the functions in graph-tool for this? It doesn't seem the LayeredBlockState constructor takes multiple graphs or multilayer graphs as input.

Thanks,
Tim

At 2017-03-28 16:03:56, "Tiago de Paula Peixoto" <tiago@skewed.de> wrote: >On 28.03.2017 01:17, treinz wrote: >> OK. Fig 1 and its legend in this paper >> (http://ieeexplore.ieee.org/document/7442167/) is a summary of what I just >> stated before. > >They describe a multilayer SBM, much like the one which is implemented in >graph-tool (the main difference is that in graph-tool the model is >nonparametric). > >If you want to find what they call "strata", i.e. groups of layers, all you >need to do is group layers together, such that the description length, with >the addition of a term, as described in Eq. 17 of >http://dx.doi.org/10.1103/PhysRevE.92.042807. > >Best, >Tiago > >-- >Tiago de Paula Peixoto <tiago@skewed.de> >