extractSimpleModel

Share:

Description

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

Usage

1
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.

Author(s)

Pierrick Bruneau

See Also

varbayes subVarbayes

Examples

1
2
temp <- varbayes(irisdata, 20)
temp2 <- extractSimpleModel(temp)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.