getpreprocessor: gets preprocessor definition

Description Usage Arguments Details Examples

Description

gets preprocessor definition

Usage

1
getpreprocessor(preprocessor = NULL)

Arguments

preprocessor

(character) name of preprocessor, defaults to NULL for list of all preprocessors

Details

getpreprocessor with the name of the preprocessor shows preprocessing function body defined with setpreprocessor().
getpreprocessor without name shows all preprocessors that can be used by functions prepro() and setphase().

Examples

1
2

Example output

 [1] "nearzerovar"        "naomit"             "meanimpute"        
 [4] "meanclassimpute"    "knnimpute"          "randomforestimpute"
 [7] "basicscale"         "centerscale"        "minmaxscale"       
[10] "decimalscale"       "softmaxscale"       "orhoutlier"        
[13] "oversample"         "undersample"        "rfselect75"        
[16] "rfselect50"         "lowesssmooth"       "coarsesmooth"      
[19] "noaction"          
{dataobject <- initializedataclassobject(data.frame(x = scale(dataobject@x, center = FALSE), dataobject@y))

preprocomb documentation built on May 2, 2019, 3:23 a.m.