Description Usage Arguments Value Note Author(s) See Also Examples
K-fold cross validation for ensemble sparse partial least squares regression.
1 |
x |
Predictor matrix. |
y |
Response vector. |
nfolds |
Number of cross-validation folds, default is |
verbose |
Shall we print out the progress of cross-validation? |
... |
Arguments to be passed to |
A list containing:
ypred
- a matrix containing two columns: real y and predicted y
residual
- cross validation result (y.pred - y.real)
RMSE
- RMSE
MAE
- MAE
Rsquare
- Rsquare
To maximize the probablity that each observation can
be selected in the test set (thus the prediction uncertainty
can be measured), please try setting a large reptimes
.
Nan Xiao <https://nanx.me>
See enspls.fit
for ensemble sparse
partial least squares regressions.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.