unor {dprep}R Documentation

Auxiliary function for performing Holte's 1R discretization

Description

This function is called by the disc.1r function

Usage

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


[Package dprep version 3.1.1 Index]