Description Usage Arguments Details Value Author(s) References See Also Examples
Random Forest Cross-Valdidation for feature selection
| 1 2 | 
| trainx | matrix or data frame containing columns of predictor variables | 
| trainy | vector of response, must have length equal to the number of rows in
 | 
| cv.fold | The fold, the defalut is 5. | 
| scale | If  | 
| step | If  | 
| mtry | A function of number of remaining predictor variables to use as the
 | 
| recursive | Whether variable importance is (re-)assessed at each step of variable reduction | 
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 three components::
n.var - vector of number of variables used at each step
error.cv - corresponding vector of error rates or MSEs at each step
res - list of n.var components, each containing the feature importance values from
the cross-validation
Min-feng Zhu <wind2zhu@163.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 rf.cv for the Cross-Validation of Classification and
Regression models using Random Forest
| 1 2 3 4 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.