disc.1r {dprep} | R Documentation |
This function performs supervised discretization using the Holte's 1R method
disc.1r(data, convar, binsize = 6)
data |
The name of the dataset to be discretized |
convar |
A vector containing the continuous features |
binsize |
The number of instances per bin |
Returns a new data matrix with discretized values
Shiyun Wen and Edgar Acuna
Kantardzic M. (2003). Data Mining: Concepts, Models, methods, and Algorithms. John Wiley. New York.
disc.ew
,disc.ef
, chiMerge
, disc.mentr
#-----Discretization using the Holte's 1r method data(bupa) disc.1r(bupa,1:6)