setEmOptions: Set Expectation and Maximization options.

Description Usage Arguments Details Author(s) References See Also Examples

Description

Set Expectation and Maximization options.

Usage

1
2
3
setEmOptions(emOptions = list(epsi = NULL, typeSmallEM = NULL, typeEM = NULL,
  nberSmallEM = NULL, nberIterations = NULL, nberMaxIterations = NULL,
  putThreshold = NULL))

Arguments

emOptions

A list of options needed by the Expectation and maximization algorithm :

  • epsi : In [1e-5, 1e-20], it is the upper bound of the relative increase in the log-likelihood.

  • typeSmallEM : In c(0, 1, 2) : 0 = classic EM, 1 = SEM, 2 = CEM.

  • typeEM : In c(0, 1, 2) : 0 = classic EM, 1 = SEM, 2 = CEM.

  • nberSmallEM : The number of random parameter points from which to perform nberIterations EM runs.

  • nberIterations : The number of iterations for each small EM.

  • nberMaxIterations : The maximum number of iterations if EM algorithm converge hardly.

  • putThreshold : If TRUE, the probabilities of levels are assumed to be positive in all clusters.

Details

Use setEmOptions() to set all options to default.

Author(s)

Wilson Toussile.

References

See Also

EmOptions for getting the current EM options.

Examples

1
2
3
4
5
EmOptions()
setEmOptions(list(epsi = 1e-6))
EmOptions()
setEmOptions()	# To set default values
EmOptions()

ClustMMDD documentation built on May 2, 2019, 2:44 p.m.