Learn R Programming

VBmix (version 0.3.2)

getVarbayesResp:

Description

gets posterior responsibilities for a data set, according to the variational posterior of a GMM.

Usage

getVarbayesResp(data, model)

Arguments

data
matrix of row-elements.
model
variational posterior of a GMM

Value

responsibility matrix (Z in references) resulting from the parameters.

References

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

See Also

getResp ZtoLabels

Examples

Run this code
# get resp for only a subsample, as this operation is rather long.
temp <- getVarbayesResp(pendat[1:10,], vbpen[[2]])

Run the code above in your browser using DataLab