Ncrossval
From Eigenvector Documentation Wiki
Contents |
Purpose
Cross-validation for multilinear PLS (NPLS).
Synopsis
- [press,cumpress,rmsecv,rmsec,cvpred,misclassed] = ncrossval(x,y,rm,cvi,ncomp,out,pre)
Description
Performs cross-validation of NPLS. If two-way unfold-PLS is desired convert input x to two-way x. By default, the data are centered across the first mode, but no scaling is applied. This can be changed by using additional input arguments.
Inputs
- x = X-block matrix,
- y = Y-block matrix, and
- rm = regression method (must be 'npl')
- cvi = see CROSSVAL
- ncomp = maximum number of factors.
- out = see CROSSVAL
- pre = see CROSSVAL
Outputs
- See CROSSVAL