Initialise the variational parameters and the hyper parameters

VB_GMM_Init(X, k, n, prior, init, initParams)

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.

Value

A list of the initially fitted posterior Q family