| SimpleSBM_fit | R Documentation | 
This internal class is designed to adjust a binary Stochastic Block Model in the context of missSBM.
This internal class is designed to adjust a binary Stochastic Block Model in the context of missSBM.
It is not designed not be call by the user
sbm::SBM -> sbm::SimpleSBM -> SimpleSBM_fit
typethe type of SBM (distribution of edges values, network type, presence of covariates)
penaltydouble, value of the penalty term in ICL
entropydouble, value of the entropy due to the clustering distribution
loglikdouble: approximation of the log-likelihood (variational lower bound) reached
ICLdouble: value of the integrated classification log-likelihood
new()constructor for simpleSBM_fit for missSBM purpose
SimpleSBM_fit$new(networkData, clusterInit, covarList = list())
networkDataa structure to store network under missing data condition: either a matrix possibly with NA, or a missSBM:::partlyObservedNetwork
clusterInitInitial clustering: a vector with size ncol(adjacencyMatrix), providing a user-defined clustering with nbBlocks levels.
covarListAn optional list with M entries (the M covariates).
doVEM()method to perform estimation via variational EM
SimpleSBM_fit$doVEM( threshold = 0.01, maxIter = 100, fixPointIter = 3, trace = FALSE )
thresholdstop when an optimization step changes the objective function by less than threshold. Default is 1e-4.
maxIterV-EM algorithm stops when the number of iteration exceeds maxIter. Default is 10
fixPointIternumber of fix-point iterations in the Variational E step. Default is 5.
tracelogical for verbosity. Default is FALSE.
reorder()permute group labels by order of decreasing probability
SimpleSBM_fit$reorder()
clone()The objects of this class are cloneable with this method.
SimpleSBM_fit$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.