disc.mentr {dprep} | R Documentation |
This function discretizes the continuous attributes of a data frame using the minumum entropy criterion with the minimum description length as stopping rule.
disc.mentr(data, vars)
data |
The name of the dataset to be discretized |
vars |
A vector containing the indices of the columms to be discretized and column containing the classes |
Returns a matrix containing only discretized features.
Luis Daza
Dougherty, J., Kohavi, R., and Sahami, M. (1995). Supervised and unsupervised discretization of continuous features. ML-95.
disc.1r, disc.ew,disc.ef,chiMerge
data(my.iris) iris.discme=disc.mentr(my.iris,1:5)