setgrid: constructor function for creating preprocessing combinations

Description Usage Arguments Details Value Examples

View source: R/04GridClass.R

Description

setgrid takes the preprocessing phases, which contain preprocessors and creates the combinations of them as a grid. It then computes and stores the transformed data sets for each combination. setgrid initializes a GridClass object.

Usage

1
setgrid(phases, data)

Arguments

phases

(character) vector of phases

data

(data frame)

Details

If there are missing values, imputation phase must be set as first phase. Default phase "sampling" can only be used with data, which has binary class labels.

Value

a GridClass object

Examples

1
grid <- setgrid(phases=c("outliers", "irrelfeatures"), data=iris)

mvattulainen/preprocomb documentation built on May 23, 2019, 10:54 a.m.