preProcess() and nearZeroVar()
Can you use the preProcess
argument in caret
to remove near-zero variance predictors? Or do you have to do this by hand, prior to modeling, using the nearZeroVar()
function?
This exercise is part of the course
Machine Learning with caret in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
