Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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, α

Details

In the modified Chi2 algorithm, inconsistency checking(InConCheck(data) < δ) 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.

Value

cutp

list of cut-points for each variable

Disc.data

discretized data matrix

Author(s)

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

Examples

data(iris)
modChi2(iris, alp=0.5)$Disc.data

discretization

Data preprocessing, discretization for classification.

v1.0-1
GPL
Authors
HyunJi Kim
Initial release
2010-12-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.