unor: Auxiliary function for performing Holte's 1R discretization

Description Usage Arguments Value Author(s) See Also

View source: R/unor.R

Description

This function is called by the disc.1r function

Usage

1
unor(a, binsize, out = c("symb", "num"))

Arguments

a

a is a two column matrix where the first column contains the values to be discretized and the second column contains the class labels.

binsize

the minimum number of attributes values in each bin.

out

To get the discretized data in numerical format enter "nun". To get the discretized data in interval format enter "symb".

Value

Returns the discretized values of the first column of the matrix a.

Author(s)

Edgar Acuna

See Also

disc.1r


dprep documentation built on May 29, 2017, 11:01 a.m.