Learn R Programming

VBmix (version 0.3.2)

extractSimpleModel:

Description

extracts a GMM from a posterior variational distribution. Only relevant components (i.e. associated to a significant population) are extracted.

Usage

extractSimpleModel(model = model, labels = FALSE)

Arguments

model
variational posterior.
labels
boolean indicating wether to extract a label vector. If TRUE, model, a list object, should also contain a data attribute, used to build label vector.

Value

GMM object.

See Also

varbayes subVarbayes

Examples

Run this code
temp <- varbayes(irisdata, 20)
temp2 <- extractSimpleModel(temp)

Run the code above in your browser using DataLab