disc.1r {dprep}R Documentation

Discretization using the Holte's 1R method

Description

This function performs supervised discretization using the Holte's 1R method

Usage

disc.1r(data, convar, binsize = 6)

Arguments

data The name of the dataset to be discretized
convar A vector containing the continuous features
binsize The number of instances per bin

Value

Returns a new data matrix with discretized values

Author(s)

Shiyun Wen and Edgar Acuna

References

Kantardzic M. (2003). Data Mining: Concepts, Models, methods, and Algorithms. John Wiley. New York.

See Also

disc.ew,disc.ef, chiMerge, disc.mentr

Examples

#-----Discretization using the Holte's 1r method
data(bupa)
disc.1r(bupa,1:6)

[Package dprep version 2.0 Index]