disc.ef {dprep} | R Documentation |
Unsupervised discretization using intervals of equal frequencies
disc.ef(data, varcon, k,out=c("symb","num"))
data |
The dataset to be discretized |
varcon |
A vector containing the continuous features |
k |
The number of intervals to be used |
out |
To get the discretized dataset in a numerical format write "num". To get the discretized in an interval format write "symb" |
Returns a new data matrix with discretized values.
Edgar Acuna
Kantardzic M. (2003). Data Mining: Concepts, Models, methods, and Algorithms. John Wiley. New York.
#Discretization using the equal frequency method data(bupa) bupa.disc.ef=disc.ef(bupa,1:6,8,out="symb")