Description Constructor Author(s) Examples
Collects and checks necessary parameters required for transformation. The
empty constructor is for when no data transformation is desired. One data
transformation function is distributed. See subtractFromLocation
.
TransformParams(transform, intermediate = character(0), ...)
Creates a TransformParams object which stores the function which will do the
transformation and parameters that the function will use.
transform
A function which will do the transformation. The first
argument must be a DataFrame
object.
intermediate
Character vector. Names of any variables created in prior stages by
runTest
that need to be passed to a feature selection function.
...
Other named parameters which will be used by the transformation function.
Dario Strbenac
1 2 | transformParams <- TransformParams(subtractFromLocation, location = "median")
# Subtract all values from training set median, to obtain absolute deviations.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.