View source: R/MixtureFitting.R
gmm_init_vector | R Documentation |
Estimate an initialisation vector for Gaussian mixture fitting via Expectation Maximisation. Proportions and scales are set to equal, centers are equispaced through the whole domain of input sample.
gmm_init_vector( x, n, implementation = "C" )
x |
data vector |
n |
number of mixture components |
implementation |
flag to switch between C (default) and R implementations. |
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.
Andrius Merkys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.