discretization.prepare: discretization.prepare - compute discreatization thresholds

Description Usage Arguments Value Examples

View source: R/discretization.R

Description

discretization.prepare - compute discreatization thresholds

Usage

1
discretization.prepare(data, columnIndices, columnOptions)

Arguments

columnOptions

list of options in followin form per column [0] numSlices - number of discrete values to produce [1] type - type of discreatization, one of: - 'even' - split domain by even slices, where slice size is (max - min)/numSlices - 'size' - split domain by slices of even numer of examples in them

Value

list of threshold values of size (numSlices - 1)

Examples

1
t = discretization.prepare(iris, c(1,2), list(list(5, 'even'),list(5, 'size')))

rzaluska/mow documentation built on May 4, 2019, 1:22 p.m.