# NOT RUN {
## Example of recursive feature elimination
library(specmine.datasets)
data(cachexia)
library(caret)
rfe.result = recursive_feature_elimination(cachexia$data,
cachexia$metadata$Muscle.loss, functions = caret::rfFuncs,
method = "cv", number = 3, subsets = 2^(1:6))
# }
Run the code above in your browser using DataLab