Ncrossval: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 12: | Line 12: | ||
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. | 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, | * '''x''' = X-block matrix, | ||
Line 28: | Line 28: | ||
* '''pre''' = see CROSSVAL | * '''pre''' = see CROSSVAL | ||
==== | ====Outputs==== | ||
* '''See''' CROSSVAL | * '''See''' CROSSVAL |
Revision as of 17:34, 3 September 2008
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