R6 class for zero-inflated normal-block model with fixed number of groups#'
Source:R/ZINB_fixed_Q-Class.R
ZINB_fixed_Q.Rd
R6 class for zero-inflated normal-block model with fixed number of groups#'
R6 class for zero-inflated normal-block model with fixed number of groups#'
Super class
normalblockr::NB
-> ZINB_fixed_Q
Public fields
fixed_tau
whether tau should be fixed at clustering_init during optimization, useful for stability selection
Active bindings
nb_param
number of parameters in the model
var_par
a list with variational parameters
model_par
a list with model parameters: B (covariates), dm1 (species variance), OmegaQ (blocks precision matrix), kappa (zero-inflation probabilities)
entropy
Entropy of the conditional distribution
fitted
Y values predicted by the model Y values predicted by the model
who_am_I
a method to print what model is being fitted
Methods
Method new()
Create a new [`ZINB_fixed_Q`] object.
Usage
ZINB_fixed_Q$new(data, Q, sparsity = 0, control = NB_control())