Class for fitting a block-node sampling
Class for fitting a block-node sampling
Class for fitting a block-node sampling
missSBM::networkSampling
-> missSBM::networkSamplingNodes_fit
-> blockNodeSampling_fit
vExpec
: variational expectation of the sampling
log_lambda
: double, term for adjusting the imputation step which depends on the type of sampling
new()
constructor
blockNodeSampling_fit$new(partlyObservedNetwork, blockInit)
partlyObservedNetwork
: a object with class partlyObservedNetwork representing the observed data with possibly missing entries
blockInit
: n x Q matrix of initial block indicators
update_parameters()
a method to update the estimation of the parameters. By default, nothing to do (corresponds to MAR sampling)
blockNodeSampling_fit$update_parameters(imputedNet, Z)
imputedNet
: an adjacency matrix where missing values have been imputed
Z
: indicator of blocks
clone()
The objects of this class are cloneable with this method.
blockNodeSampling_fit$clone(deep = FALSE)
deep
: Whether to make a deep clone.