enspls.ad.core.fit: core fitting function for enspls.ad
Description
select the best ncomp and alpha with cross-validation,
then use them to fit the complete training set. scale = TRUE
Usage
enspls.ad.core.fit(x.tr, y.tr, maxcomp, cvfolds, alpha)
Value
the fitted spls object