Initialise the variational parameters and the hyper parameters
Source:R/vb_gmm_cavi.R
VB_GMM_Init.RdInitialise the variational parameters and the hyper parameters
Arguments
- X
n x p data matrix (or data frame that will be converted to a matrix).
- k
guess for the number of mixture components.
- n
number of rows in X.
- prior
Prior for the GMM parameters.
- init
initialize the clusters c("random", "kmeans", "dbscan")
- initParams
initialization parameters for dbscan. NULL if dbscan not selected for init.