split_comp | R Documentation |
This function splits a mixture component of a Gaussian mixture model using the singular value decomposition of the covariance matrix (Zhang et al., 2003).
split_comp(gmm, comp = 1, n_sub = 2, space = 0.5)
gmm |
An object of class |
comp |
An integer corresponding to the index of the split mixture component. |
n_sub |
A positive integer corresponding to the number of subcomponents. |
space |
A numeric value in [0, 1[ corresponding to the space between the subcomponents. |
The gmm
object after splitting the mixture component.
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.
merge_comp
data(gmm_body) gmm_1 <- split_comp(gmm_body, n_sub = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.