Train PLS for train dataset by cross-validation. The preprocessing method will be optimized automatically. However, the number of latent variables has to be determined manually. Planning to add variable reduction in the future.
1 2 3 |
x |
predictor matrix |
y |
prediction target vector |
maxncomp |
maximum ncomp for calculation |
cvsegments |
refer to mvrCv's segments argument |
ncomp |
'auto','manual' or 'fixed' |
fixedncomp |
fixed numerical value |
threshold |
threshold for selecting ncomp |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.