Learn R Programming

VBmix (version 0.3.2)

ZtoLabels:

Description

converts a responsibility matrix (Z in references) to a vector of numeric labels.

Usage

ZtoLabels(resp)

Arguments

resp
responsibility matrix to convert.

Value

labels vector.

References

Bishop, C. M. (2006) _Pattern Recognition and Machine Learning_ Chap. 9, Springer.

See Also

getResp getVarbayesResp

Examples

Run this code
temp <- getResp(pendat, pcapen[[2]])
temp2 <- ZtoLabels(temp)

Run the code above in your browser using DataLab