preprocess {autoMFA} | R Documentation |

## Preprocess

### Description

Performs the pre-processing of a data matrix such that it is ready
to be used by `vbmfa`

.

### Usage

```
preprocess(Y, ppp, shrinkQ)
```

### Arguments

`Y` |
An |

`ppp` |
An optional |

`shrinkQ` |
If 1, the data is shrunk according to |

### Value

A list containing

`Yout`

: A processed data matrix of observations.`ppp`

: The shrinkage which as applied in the processing.

### References

Ghahramani Z, Beal MJ (2000).
“Variational inference for Bayesian Mixtures of Factor Analysers.”
In *Advances in neural information processing systems*, 449–455.

### See Also

`vbmfa`

for fitting models after using `preprocess`

.

### Examples

```
Yout <- preprocess(autoMFA::MFA_testdata);
```

[Package

*autoMFA*version 1.0.0 Index]