TransformParams | R Documentation |
Collects and checks necessary parameters required for transformation within CV.
TransformParams(transform, characteristics = DataFrame(), 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 character keyword referring to a registered transformation function. See available
for valid keywords.
characteristics
A DataFrame
describing the
characteristics of data transformation to be done. First column must be
named "charateristic"
and second column must be named "value"
.
If using wrapper functions for data transformation in this package, the data
transformation name will automatically be generated and therefore it is not
necessary to specify it.
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.
transformParams
is a TransformParams
object.show(transformParams)
: Prints a short summary of what transformParams
contains.
Dario Strbenac
transformParams <- TransformParams("diffLoc", 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.