Learn R Programming

VBmix (version 0.3.2)

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 <- EM(irisdata, 4)
temp2 <- getLabels(temp, irisdata)

Run the code above in your browser using DataLab