View source: R/estimateMissSBM.R
| missSBM_param | R Documentation |
Helper to define the list of parameters that controls estimateMissSBM(). All arguments have defaults.
missSBM_param(
threshold = 0.01,
maxIter = 50,
fixPointIter = 3,
imputation = c("median", "average", "zero"),
similarity = l1_similarity,
useCov = TRUE,
clusterInit = NULL,
polish = TRUE,
iterates = 1,
maxMergeCandidates = 30,
stopOnDegenerate = TRUE,
maxConsecutiveDegenerate = 2,
warmChain = FALSE,
trace = TRUE
)
threshold |
V-EM algorithm stops when an optimization step changes the objective function or the parameters by less than threshold. Default is 1e-2. |
maxIter |
V-EM algorithm stops when the number of iteration exceeds maxIter. Default is 50. |
fixPointIter |
number of fix-point iterations in the V-E step. Default is 3. |
imputation |
character, the imputation strategy used to build the initial clustering (see
|
similarity |
an R x R -> R function to compute similarities between node covariates.
Default is |
useCov |
logical. If |
clusterInit |
initial clustering: |
polish |
logical, should each model be node-swap-polished (see missSBM_fit's
|
iterates |
integer, the number of forward/backward exploration passes searching for a
better number of blocks by splitting/merging clusters (unlike |
maxMergeCandidates |
integer, caps the number of cluster-pair merge candidates tried during backward exploration (quadratic in the number of blocks otherwise). Beyond this cap, only the pairs with the most similar fitted connectivity profiles are tried, since merging two blocks with very different connectivity is rarely competitive anyway. Default is 30. |
stopOnDegenerate |
logical. A requested number of blocks can be higher than what the
network actually supports: VEM then collapses one or more classes (see missSBM_fit's
|
maxConsecutiveDegenerate |
integer, the run length that triggers |
warmChain |
logical (work in progress). If |
trace |
logical for verbosity. Default is TRUE. |
a list of parameters configuring the fit, with class missSBM_param.
estimateMissSBM()
my_control <- missSBM_param(iterates = 2, polish = FALSE)
my_control$iterates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.