-
Notifications
You must be signed in to change notification settings - Fork 0
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.