emnmix_univariate | R Documentation |
Custom R implementation of the EM algorithm in the univariate context
emnmix_univariate(
x,
k,
epsilon = 10^-4,
itmax = 500,
nstart = 10L,
start = NULL,
initialisation_algorithm = "kmeans",
...
)
em_Rmixmod_univariate(
x = x,
k = 2,
initialisation_algorithm = "kmeans",
epsilon = 10^-4,
itmax = 500,
start = NULL,
...
)
em_EMCluster_univariate(
x = x,
k = 2,
initialisation_algorithm = "kmeans",
epsilon = 10^-4,
itmax = 500,
start = NULL,
...
)
em_bgmm_univariate(
x = x,
k = 2,
epsilon = 10^-4,
itmax = 500,
initialisation_algorithm = "kmeans",
start = NULL,
...
)
em_flexmix_univariate(
x = x,
k = 2,
epsilon = 10^-4,
itmax = 500,
minprior = 0.05,
initialisation_algorithm = "kmeans",
start = NULL,
...
)
em_mixtools_univariate(
x = x,
k = 2,
initialisation_algorithm = "kmeans",
epsilon = 10^-4,
itmax = 500,
start = NULL,
...
)
em_mclust_univariate(
x = x,
k = 2,
initialisation_algorithm = "kmeans",
start = NULL,
epsilon = 10^-4,
itmax = 500,
...
)
em_GMKMcharlie_univariate(
x = x,
k = 2,
initialisation_algorithm = "kmeans",
embedNoise = 1e-06,
epsilon = 10^-4,
itmax = 500,
start = NULL,
parallel = FALSE,
...
)
em_otrimle(
x = x,
k = 2,
initialisation_algorithm = "kmeans",
epsilon = 10^-4,
itmax = 500,
...
)
x |
the vector of the observations |
k |
the number of components |
epsilon |
the criterion threshold considered as the tolerance between two consecutive log-likelihoods |
itmax |
the maximal number of iterations to reach the threshold |
start |
a list of initial estimates provided by the user, with 3 entries:
|
initialisation_algorithm, nstart |
hyper-parameters, when the user rather uses one of our implemented initialization algorithms |
... |
additional parameters for the reviewed packages |
minprior |
Minimum prior probability of clusters, components falling below this threshold are removed during the iteration. |
embedNoise |
A small constant added to the diagonal entries of all covariance matrices. This may prevent covariance matrices collapsing prematurely. A suggested value is 1e-6. Covariance degeneration is detected during Cholesky decomposition, and will lead the trainer to remove the corresponding mixture component. For high-dimensional problem, setting |
parallel |
only relevant for GMKMCharlie package which has a native parallel implementation (by default, takes half of the available clusters) |
a list of the estimated parameters, ordered by increasing mean for identifiability issues
Bastien CHASSAGNOL
emnmix_multivariate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.