merge_comp: Merge mixture components of a Gaussian mixture model
Description
This function merges mixture components of a Gaussian mixture model (Zhang
et al., 2003).
Usage
merge_comp(gmm, comp = seq_along(gmm$alpha))
Value
The gmm object after merging the mixture components.
Arguments
gmm
An object of class gmm.
comp
An integer vector containing the indexes of the merged mixture
components (by default all the components of gmm).
References
Zhang, Z., Chen, C., Sun, J. and Chan, K. L. (2003). EM algorithms for
Gaussian mixtures with split-and-merge operation. Pattern Recognition,
36(9):1973--1983.