Description Usage Arguments Details Value Author(s) See Also Examples
Generate data from a CCA/BIBFA/GFA model that has been learned with
GFA
. The most likely use of this function is for model
checking.
1 2 |
model |
A list of model parameters as returned by |
N |
How many samples to draw. |
The code randomly samples Z
from the prior and then draws
N
observations for both views.
Y |
The data, a list of N times D[m] matrices. |
Z |
The latent variables, a N times K matrix. |
Seppo Virtanen and Arto Klami
1 2 3 4 5 6 7 | #
# Assume we have a variable model which has been learned with
# GFAexperiment() or GFA().
# Then the following line would draw 100 samples from it:
#
# Y2 <- GFAsample(model,100)
#
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.