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