| MultipartiteSBM_fit | R Documentation |
R6 Class definition of a Multipartite SBM fit
R6 Class definition of a Multipartite SBM fit
This class is designed to give a representation and adjust a Multipartite SBM fitted with GREMLIN.
sbm::SBM -> sbm::MultipartiteSBM -> MultipartiteSBM_fit
loglikdouble: approximation of the log-likelihood (variational lower bound) reached
ICLdouble: value of the integrated classification log-likelihood
storedModelsdata.frame of all models fitted (and stored) during the optimization
new()constructor for Multipartite SBM
MultipartiteSBM_fit$new(netList)
netListlist of SBM objects
optimize()estimation of multipartiteSBM via GREMLINS
MultipartiteSBM_fit$optimize(estimOptions)
estimOptionsoptions for MultipartiteBM
predict()prediction under the currently estimated model
MultipartiteSBM_fit$predict()
a list of matrices matrix of expected values for each dyad
setModel()method to select a specific model among the ones fitted during the optimization. Fields of the current MultipartiteSBM_fit will be updated accordingly.
MultipartiteSBM_fit$setModel(index)
indexinteger, the index of the model to be selected (row number in storedModels)
show()show method
MultipartiteSBM_fit$show(type = "Fit of a Multipartite Stochastic Block Model")
typecharacter used to specify the type of SBM
clone()The objects of this class are cloneable with this method.
MultipartiteSBM_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.