Cross validation (fold-5) function for high dimension data.
MLM_cv(x = NULL, y = NULL, nit = 1, nc = 2, max_iter = 50)
x variable.
y variable.
Iteration number.
The number of component.
Maximum iteration.
The correlation between y and y_hat based on five fold cross validation.