TransformParams-class: Parameters for Data Transformation

TransformParamsR Documentation

Parameters for Data Transformation

Description

Collects and checks necessary parameters required for transformation within CV.

Constructor

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.

Summary

transformParams is a TransformParams object.

show(transformParams): Prints a short summary of what transformParams contains.

Author(s)

Dario Strbenac

Examples


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


DarioS/ClassifyR documentation built on Nov. 4, 2024, 1:06 p.m.