On 14.10.2016 07:59, isukritgupta wrote:
> Hi Tiago, I wanted to create a probability distribution function for the
> inferred network calculated by SBM (using function 'minimise_blockmodel_dl')
> from the original network. The object in consideration in this case is the
> 'BlockState' object. 
> I couldn't find a way to do this, since there is not function to calculate
> the out degree of a node in the BlockState object. Can you suggest how I can
> achieve this?

You can access the graph corresponding to the state with: state.g

With this you can look at the out-degrees. Note that this is simply the
graph that you supplied to minimize_blockmodel_dl()...


Tiago de Paula Peixoto <ti...@skewed.de>

Attachment: signature.asc
Description: OpenPGP digital signature

graph-tool mailing list

Reply via email to