mppca: mppca

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/interfaces.R

Description

estimates the variational posterior distribution of a MPPCA on a data set. A lower bound is calculated and monitored at each iteration. This posterior can be used for various purposes (e.g. MC proposal distribution). It can be transformed using mppcaToGmm and subMppca, outputing a GMM.

Usage

1
mppca(data, ncomp, thres = 0.1, maxit = NULL, qmax = NULL)

Arguments

data

matrix of row-elements.

ncomp

number of components in the posterior.

thres

threshold for lower bound variations between 2 iterations. Convergence is decided if this variation is below thres.

maxit

if NULL, the stopping criterion is related to thres. If not NULL, maxit iterations are performed.

qmax

maximal rank of the posterior factor matrices. If NULL, is set to d-1.

Value

estimated posterior MPPCA with ncomp components.

Author(s)

Pierrick Bruneau

References

Beal, M. J. (2003) _Variational Algorithms for approximate inference_, PhD Thesis, University of London.

See Also

newMppca mppcaToGmm subMppca

Examples

1
2
3
# for packaging needs, a low amount of initial components (ie 10) was used.
# A larger amount may be used for better results.
temp <- mppca(pendat, 10, maxit=20, qmax=8)

VBmix documentation built on May 30, 2017, 2:34 a.m.

Related to mppca in VBmix...