Description Usage Arguments Details Value References See Also Examples
Clean predictor variables regarding zero or near-zero variability or highly correlated variables.
1 2 3 | ## S4 method for signature 'GPM'
cleanPredictors(x, nzv = TRUE, highcor = TRUE,
cutoff = 0.9, rmvna = TRUE)
|
x |
An object of class gpm |
nzv |
Remove (near) zero variability predictor variables |
highcor |
Remove highly correlated predictor variables |
cutoff |
Correlation cutoff value for highcor |
rmvna |
Remove predictors with na values |
The function is realized by using the caret::nearZeroVar and caret::findCorrelation functions.
A layer within the gpm object with the information on the n individual resamplings.
The function uses functions from: Max Kuhn. Contributions from Jed Wing, Steve Weston, Andre Williams, Chris Keefer, Allan Engelhardt, Tony Cooper, Zachary Mayer, Brenton Kenkel, the R Core Team, Michael Benesty, Reynald Lescarbeau, Andrew Ziem, Luca Scrucca, Yuan Tang and Can Candan. (2016). caret: Classification and Regression Training. https://CRAN.R-project.org/package=caret
NONE
1 2 3 4 | ## Not run:
#Not run
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.