merge_comp | R Documentation |
This function merges mixture components of a Gaussian mixture model (Zhang et al., 2003).
merge_comp(gmm, comp = seq_along(gmm$alpha))
gmm |
An object of class |
comp |
An integer vector containing the indexes of the merged mixture
components (by default all the components of |
The gmm
object after merging the mixture components.
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.
split_comp
data(gmm_body) gmm_1 <- merge_comp(gmm_body, c(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.