This function allows you to do variational Bayesian inference for Gaussian mixture.

init(X, K, init = F, verbose = T)

Arguments

X NxD data matrix Number of mixture components Initialisation method (optional). If it is a vector, it is interpreted as the vector of initial cluster allocations. If it is a string, it is interpreted as the name of the clustering algorithm used for the initialisation (only "kmeans" and "random") available at the moment). Boolean flag which, if TRUE, prints the type of initialization

Value

Resp NxK matrix of responsibilities