14 Oct
2016
14 Oct
'16
3:39 p.m.
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()... Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>