Description Usage Arguments Value See Also
Preprocessing for regression in caret
1 2 | getPreProcessor(dat, preProcess, preProcOptions = list(thresh = 0.95, ICAcomp
= 3, k = 5, freqCut = 95/5, uniqueCut = 10, cutoff = 0.9))
|
dat |
data.frame containing the data to be preprocessed. |
preProcess |
Character vector with preprocessing steps for dat.
Can be anything that caret allows
(see |
preProcOptions |
list of options for the different preProcessing steps from caret. |
List with the following items:
preProcessStep1: preProcessing result for dat,
first step (all native caret methods). See preProcess
preProcessStep2: preProcessing result for dat for scaleAgain, centerAgain
Result of caret preProcess with scale and center
preProcessMinMax: preProcessing result for minMax trafo. Comprises min value, max value and trafo function.
predictPreProcessor, invertPreProcessor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.