blockNodeSampling_fit: Class for fitting a block-node sampling

blockNodeSampling_fitR Documentation

Class for fitting a block-node sampling

Description

Class for fitting a block-node sampling

Super classes

networkSampling -> networkSampling_fit -> networkSamplingNodes_fit -> blockNodeSampling_fit

Methods

Public methods

Inherited methods

blockNodeSampling_fit$new()

constructor

Usage
blockNodeSampling_fit$new(partlyObservedNetwork, blockInit)
Arguments
partlyObservedNetwork

a object with class partlyObservedNetwork representing the observed data with possibly missing entries

blockInit

n x Q matrix of initial block indicators


blockNodeSampling_fit$update_parameters()

update the parameters: the observation rate of the nodes of each block

Usage
blockNodeSampling_fit$update_parameters(Z, ...)
Arguments
Z

probabilities of block memberships

...

use for compatibility


blockNodeSampling_fit$reorder()

permute the parameters indexed by the blocks, after the blocks of the SBM were permuted

Usage
blockNodeSampling_fit$reorder(o)
Arguments
o

the permutation applied to the blocks (new block k is former block o[k])


blockNodeSampling_fit$vExpec_at()

the variational expectation of the log-likelihood of the sampling at given memberships (used by the ICL, at the MAP memberships)

Usage
blockNodeSampling_fit$vExpec_at(Z)
Arguments
Z

an n x Q matrix of memberships


blockNodeSampling_fit$log_lambda()

the term of the sampling in the update of the blocks: \log \psi_q for an observed node, \log(1 - \psi_q) for a missing one

Usage
blockNodeSampling_fit$log_lambda(Z = NULL)
Arguments
Z

not used: the sampling of a node only depends on its own block


blockNodeSampling_fit$clone()

The objects of this class are cloneable with this method.

Usage
blockNodeSampling_fit$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


missSBM documentation built on Dec. 3, 2026, 1:07 a.m.