Learn R Programming

preproviz (version 0.2.0)

constructfeature: constructor function for adding constructed features to the system

Description

constructor function for adding constructed features to the system

Usage

constructfeature(classname, operation, mode = "all", impute = FALSE)

Arguments

classname
(character) name of the inherited class
operation
(expression) feature construction operation.The expression is evaluated by computevalue method.
mode
(character) Mode of data to be used in construction . Defaults to "all", option "numeric" for numeric data without class labels.
impute
(logical) Impute whether construction is done before missing value imputation . Defaults to "FALSE"

Value

(BaseClass) A sub class inhereted from BaseClass and computevalue method for the class