Skip to content
Laura C. Morris edited this page Oct 6, 2023 · 1 revision

plsCV

PLS=plsCV(Y,matrix,nfold,type,permutations)

Calculates a partial least squares regression of Y on X using PLS components of X by SIMPLS algorithm and outputs an array with scores, and loadings for each PLS component and the PLS coefficients vector.

This function uses nfold cross-validation to avoid overfitting, and the user will be asked to select the optimal number of PLS components to avoid over- and under-fitting the data. This function can perform PLS regression or PLS discriminant analysis.

Graphical representation: NA

Known bugs: NA

Typical next steps: VisScores, VisLoadings1D

Tags: Multivariate-Statistics, Group-Separation,

also, see the related function with permutation validation: plsPV

References: A citation is needed but not mentioned in the code.

Clone this wiki locally