Description Usage Arguments Details Value Author(s) References See Also Examples
This function shows the cross-validated prediction performance of models with sequentially reduced number of predictors (ranked by variable importance) via a nested cross-validation procedure.
1 2 |
trainx |
matrix or data frame containing columns of predictor |
trainy |
vector of response, must have length equal to the number
of rows in |
cv.fold |
number of folds in the cross-validation |
scale |
if |
step |
if |
recursive |
whether variable importance is (re-)assessed at each step of variable reduction |
MCtimes |
times of Monte-Carlo |
... |
other arguments passed on to |
This function shows the cross-validated prediction performance of models with sequentially reduced number of predictors (ranked by variable importance) via a nested cross-validation procedure.
A list with the following components:
n.var
- vector of number of variables used at each step.
error.cv
- corresponding vector of error rates or MSEs at each step.
predicted
- list of n.var
components, each containing
the predicted values from the cross-validation.
res
- list of n.var
components, each containing
the sum of coefficient values from the cross-validation.
imp
- list of n.var
components, each containing
the sum of coefficient values from the cross-validation.
Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <road2stat@gmail.com>
Svetnik, V., Liaw, A., Tong, C. and Wang, T., "Application of Breiman's Random Forest to Modeling Structure-Activity Relationships of Pharmaceutical Molecules", MCS 2004, Roli, F. and Windeatt, T. (Eds.) pp. 334-343.
See enpls.en
for feature selection with ensemble PLS.
See enpls.en
for ensemble PLS regression
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.