gmm_init_vector_kmeans: Estimate Gaussian Mixture parameters using Expectation...

View source: R/MixtureFitting.R

gmm_init_vector_kmeansR Documentation

Estimate Gaussian Mixture parameters using Expectation Maximization.

Description

Estimate an initialization vector for Gaussian mixture fitting using k-means. R implementation of k-means in kmeans() is used to find data point assignment to clusters.

Usage

    gmm_init_vector_kmeans( x, m )

Arguments

x

data vector

m

number of mixture components

Value

Parameter vector of 3*n parameters, where n is number of mixture components. Structure of p vector is p = c( A1, A2, ..., An, mu1, mu2, ..., mun, sigma1, sigma2, ..., sigman ), where Ai is the proportion of i-th component, mui is the location of i-th component, sigmai is the scale of i-th component.

Author(s)

Andrius Merkys


merkys/MixtureFitting documentation built on July 5, 2025, 5:43 a.m.