| ZINormalBlockVarUnknownClusters | R Documentation |
R6 class for a zero-inflated normal-block model with a fixed number of clusters (but unknown clustering).
NormalBlockBase -> NormalBlockVarBase -> ZINormalBlockVarUnknownClusters
var_para list with variational parameters
model_parthe parameters of NormalBlockVarBase (B, B0, dm1, Omega), plus kappa (zero-inflation probabilities) and alpha (cluster proportions)
NormalBlockBase$best_of_inits()NormalBlockBase$candidates_merge()NormalBlockBase$candidates_split()NormalBlockBase$heldout_loglik()NormalBlockBase$latent_network()NormalBlockBase$optimize()NormalBlockBase$plot()NormalBlockBase$plot_loglik()NormalBlockBase$plot_network()NormalBlockBase$predict()NormalBlockBase$print()NormalBlockBase$update()NormalBlockBase$warm_start_from()NormalBlockVarBase$merge()NormalBlockVarBase$split()NormalBlockVarBase$within_block_correlations()ZINormalBlockVarUnknownClusters$new()Create a new ZINormalBlockVarUnknownClusters object.
ZINormalBlockVarUnknownClusters$new( data, q, sparsity = 0, control = NB_control() )
dataobject of NormalBlockVarData class, with responses and design matrix
qrequired number of groups
sparsityto apply on variance matrix when calling GLASSO
controlstructured list of more specific parameters
A new ZINormalBlockVarUnknownClusters object
ZINormalBlockVarUnknownClusters$clone()The objects of this class are cloneable with this method.
ZINormalBlockVarUnknownClusters$clone(deep = FALSE)
deepWhether to make a deep clone.
ex <- generate_normal_block_var_data(n = 50, p = 20, d = 1, q = 3, kappa = rep(0.3, 20))
data <- NormalBlockData$new(ex$Y, ex$X)
model <- normal_block(data, blocks = 3, zero_inflation = TRUE,
control = NB_control(verbose = FALSE))
model$clustering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.