Ncrossval: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 5: | Line 5: | ||
===Description=== | ===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. | 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 | ====INPUTS==== | ||
* x = X-block matrix, | * '''x''' = X-block matrix, | ||
* y = Y-block matrix, and | * '''y''' = Y-block matrix, and | ||
* rm = regression method (must be 'npl') | * '''rm''' = regression method (must be 'npl') | ||
* cvi = see CROSSVAL | * '''cvi''' = see CROSSVAL | ||
* ncomp = maximum number of factors. | * '''ncomp''' = maximum number of factors. | ||
* out = see CROSSVAL | * '''out''' = see CROSSVAL | ||
* pre = see CROSSVAL | * '''pre''' = see CROSSVAL | ||
====OUTPUTS==== | |||
* See CROSSVAL | * '''See''' CROSSVAL | ||
===See Also=== | ===See Also=== | ||
[[crossval]], [[npls]] | [[crossval]], [[npls]] |
Revision as of 20:56, 2 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