Discretization using the Holte's 1R method

Description

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

Usage

1
disc.1r(data, convar, binsize = 15, out=c("symb","num"))

Arguments

data

The name of the dataset to be discretized

convar

A vector containing the continuous features

binsize

The number of instances per bin

out

To get the discretized dataset in a numerical format write "num". To get the discretized in an interval format write "symb"

Value

Returns a new data matrix with discretized values

Author(s)

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

1
2
3
#-----Discretization using the Holte's 1r method
data(bupa)
disc.1r(bupa,1:6,out="symb")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.