mclustBICupdate | R Documentation |
Update the BIC (Bayesian Information Criterion) for parameterized Gaussian
mixture models by taking the best from BIC results as returned by mclustBIC
.
mclustBICupdate(BIC, ...)
BIC |
Object of class |
... |
Further objects of class |
An object of class 'mclustBIC'
containing the best values obtained from
merging the input arguments. Attributes are also updated according to the best
BIC found, so calling Mclust
on the resulting ouput will return
the corresponding best model (see example).
mclustBIC
,
Mclust
.
data(galaxies, package = "MASS")
galaxies <- galaxies / 1000
# use several random starting points
BIC <- NULL
for(j in 1:100)
{
rBIC <- mclustBIC(galaxies, verbose = FALSE,
initialization = list(hcPairs = hcRandomPairs(galaxies)))
BIC <- mclustBICupdate(BIC, rBIC)
}
pickBIC(BIC)
plot(BIC)
mod <- Mclust(galaxies, x = BIC)
summary(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.