PLS_Toolbox Documentation: ncrossval< mscorr nippls >

ncrossval

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 unfolded/matricized to two-way matrix,

                         y =   Y-block unfolded/matricized to two-way matrix, and

                      rm =   regression method (must be 'npl')

          cvi =   see CROSSVAL

                 ncomp =   maximum number of factors.

          out =   see CROSSVAL

          pre =   see CROSSVAL

OUTPUT:

   See CROSSVAL

See Also

crossval,npls


< mscorr nippls >