sort_nodes = TRUE
(#35). Blocks are now only sorted when sort_nodes = TRUE
, although they were previously always sorted. In directed stochastic blocks, flipped incoming and outgoing blocks, such that X
now contains info about outgoing blocks and Y
now contains info about incoming blocks, as you would expected if A[i, j]
encodes an edge from node i
to node j
plot_expectation()
, plot_sparse_matrix()
and expectation()
utilities (#34)expected_degrees()
(#34)poisson_edges
and allow_self_loops
arguments to model object constructors (i.e. sbm()
) rather than sample_*()
methods. Additionally, when poisson_edges = FALSE
, the mixing matrix S
is taken (after degree-scaling and possible symmetrization for undirected models) to represent desired inter-factor connection probabilities, and thus should be between zero and one. This Bernoulli-parameterized S
is then transformed into the equivalent (or approximately equivalent) Poisson S
. See Section 2.3 of Rohe et al. (2017) for additional details about this conversion and approximation of Bernoulli graphs by Poisson graphs (#29).force_identifiability = TRUE
, and in overlapping SBMs with force_pure = TRUE
, which are now the default.theta_out
is automatically generated for directed DC-SBMs (#22)svds()
and eigs_sym()
methods, which allow users to take spectral decompositions of expected adjacency matrices conditional X
, S
and Y
.NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.