Learn R Programming

mclust (version 2.0-3)

mclustDAtrainN: MclustDA training with noise

Description

Training phase for MclustDA discriminant analysis in the presence of noise.

Usage

mclustDAtrainN(data, labels, emModelNames, G, hcModelName,
               equalPro = FALSE, noise, Vinv)

Arguments

data
A numeric vector, matrix, or data frame of observations. Categorical variables are not allowed. If a matrix or data frame, rows correspond to observations and columns correspond to variables.
labels
A numeric or character vector assigning a class label to each observation.
emModelNames
A vector of character strings indicating the models to be fitted in the EM phase of clustering. Possible models: "E" for spherical, equal variance (one-dimensional) "V" for spherical, variable variance (one-dimensional) "EII": spherical, equal volume
G
An integer vector specifying the numbers of Gaussian mixture components (clusters) for which the BIC is to be calculated (the same specification is used for all classes). Default: 0:9.
hcModelName
A matrix of merge pairs for hierarchical clustering such as produced by function hc. The default is to compute a hierarchical clustering tree by applying function hc with modelName = .Mclust$hcModelName[1]
equalPro
Logical variable indicating whether or not the mixing proportions are equal in the model. The default is .Mclust$equalPro.
noise
A logical vector indicating whether or not observations are initially estimated to noise in the data. If there is no noise mclustDAtrain should be use rather than mclustDAtrainN.
Vinv
An estimate of the reciprocal hypervolume of the data region. The default is determined by applying function hypvol to the data.

Value

References

C. Fraley and A. E. Raftery (2002a). Model-based clustering, discriminant analysis, and density estimation. Journal of the American Statistical Association 97:611-631. See http://www.stat.washington.edu/mclust.

C. Fraley and A. E. Raftery (2002b). MCLUST:Software for model-based clustering, density estimation and discriminant analysis. Technical Report, Department of Statistics, University of Washington. See http://www.stat.washington.edu/mclust.

See Also

mclustDAtrain, mclustDA, mclustDAtest