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

`GFA`

,`CCA`

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)
#
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.