select the best ncomp and alpha with cross-validation, then use it to fit the complete training set. scale = FALSE
1 | enspls.fs.core(xtmp, ytmp, maxcomp, cvfolds, alpha)
|
fitted coefficients
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.