initialize_em_univariate | R Documentation |
One of the main drawback of the EM algorithm is that it requires initial guess as starting point. And so, careful initialisation, depending on the properties of the mixture, is required:
initialize_em_univariate
returns the initial estimates in the univariate dimension.
initialize_em_multivariate
returns the initial estimates in a multivariate context. It's worth noting
that quantiles initialisation method is not available in the multivariate context, as
no unique set of parametrisation could be returned.
initialize_em_univariate(
x = NULL,
k = 2,
nstart = 10L,
short_iter = 200,
short_eps = 10^-2,
prior_prob = 0.05,
initialisation_algorithm = c("kmeans", "quantiles", "random", "hc", "small em",
"rebmix"),
...
)
initialize_em_multivariate(
x,
k = 2,
nstart = 10L,
short_iter = 200,
short_eps = 10^-2,
prior_prob = 0.05,
initialisation_algorithm = c("kmeans", "random", "hc", "small em", "rebmix"),
...
)
x |
the vector of the observations |
k |
the number of components |
nstart |
the number of random restarts with kmeans, random and small EM method |
short_iter, short_eps |
hyperparameters of the small EM method |
prior_prob |
minimal uncertainty added to the minor components of each observation assigned by hierarchical clustering |
initialisation_algorithm |
the choice of the initialisation method, between kmeans, quantiles, random, hc, small em and rebmix method |
... |
additional hyperparameters supplied with some of the initialisation methods |
a list of the estimated parameters, ordered by increasing mean for identifiability issues
Bastien CHASSAGNOL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.