discretization (version 1.0-1.1)

modChi2: Discretization of Nemeric Attributes using the Modified Chi2 method

Description

This function implements the Modified Chi2 discretization algorithm.

Usage

modChi2(data, alp = 0.5)

Arguments

data

numeric data matrix to discretized dataset

alp

significance level, \(\alpha\)

Value

cutp

list of cut-points for each variable

Disc.data

discretized data matrix

Details

In the modified Chi2 algorithm, inconsistency checking(\(InConCheck(data) < \delta\)) of the Chi2 algorithm is replaced by maintaining the level of consistency \(L_c\) after each step of discretization \((L_{c-discretized} < L_{c-original})\). this inconsistency rate as the stopping criterion.

References

Tay, F. E. H. and Shen, L. (2002). Modified Chi2 Algorithm for Discretization, IEEE Transactions on knowledge and data engineering, 14, 666--670.

See Also

LevCon

Examples

Run this code
# NOT RUN {
data(iris)
modChi2(iris, alp=0.5)$Disc.data
# }

Run the code above in your browser using DataLab