initialisation_params_bayesian {mimiSBM}R Documentation

Initialization of mimiSBM parameters

Description

Initialization of mimiSBM parameters

Usage

initialisation_params_bayesian(
  A,
  K,
  Q,
  beta_0 = rep(1/2, K),
  theta_0 = rep(1/2, Q),
  eta_0 = array(rep(1/2, K * K * Q), c(K, K, Q)),
  xi_0 = array(rep(1/2, K * K * Q), c(K, K, Q)),
  type_init = "SBM",
  nbCores = 2
)

Arguments

A

an array of dim=c(N,N,V)

K

Number of clusters

Q

Number of components

beta_0

hyperparameters for beta

theta_0

hyperparameters for theta

eta_0

hyperparameters for eta

xi_0

hyperparameters for xi

type_init

select the type of initialization type_init=c("SBM","Kmeans","random")

nbCores

the number of cores used to parallelize the calculations of the various SBMs

Value

a list params updated


[Package mimiSBM version 0.0.1.3 Index]