Learn R Programming

VBmix (version 0.2.8)

getLabels: getLabels

Description

gets numeric labels that associates a data set and a GMM.

Usage

getLabels(model, data)

Arguments

model
GMM.
data
matrix of row-elements.

Value

  • vector of numeric labels, that take values of the respective component indexes in the GMM.

See Also

newGmm

Examples

Run this code
temp <- classicEM(irisdata, 4)
temp2 <- getLabels(temp, irisdata)

Run the code above in your browser using DataLab