powered by
Performs the pre-processing of a data matrix such that it is ready to be used by vbmfa.
vbmfa
preprocess(Y, ppp, shrinkQ)
An n by p data matrix which is to be scaled.
An optional p by 2 matrix where the columns represent the sample mean and sample standard deviation of the pth dimension of Y.
Y
If 1, the data is shrunk according to ppp. If 0, the data is expanded to invert a prior shrinking by ppp.
ppp
A list containing
Yout: A processed data matrix of observations.
Yout
ppp: The shrinkage which as applied in the processing.
ghahramani2000variationalautoMFA
vbmfa for fitting models after using preprocess.
preprocess
# NOT RUN { Yout <- preprocess(autoMFA::MFA_testdata); # }
Run the code above in your browser using DataLab