merge_comp {gmgm}R Documentation

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))

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).

Value

The gmm object after merging the mixture components.

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.

See Also

split_comp

Examples

data(gmm_body)
gmm_1 <- merge_comp(gmm_body, c(1, 2))


[Package gmgm version 1.1.2 Index]