TransformParams-class: Parameters for Data Transformation

Description Constructor Author(s) Examples

Description

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.

Constructor

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.

Author(s)

Dario Strbenac

Examples

1
2
  transformParams <- TransformParams(subtractFromLocation, location = "median")
  # Subtract all values from training set median, to obtain absolute deviations.

ClassifyR documentation built on Nov. 8, 2020, 6:53 p.m.