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

extendChi2

Discretization of Numeric Attributes using the Extended Chi2 algorithm


Description

This function implements Extended Chi2 discretization algorithm.

Usage

extendChi2(data, alp = 0.5)

Arguments

data

data matrix to discretized dataset

alp

significance level; α

Details

In the extended Chi2 algorithm, inconsistency checking(InConCheck(data) < δ) of the Chi2 algorithm is replaced by the lease upper bound ξ(Xi()) after each step of discretization (ξ_{discretized} < ξ_{original}). It uses as the stopping criterion.

Value

cutp

list of cut-points for each variable

Disc.data

discretized data matrix

Author(s)

References

Su, C. T. and Hsu, J. H. (2005). An Extended Chi2 Algorithm for Discretization of Real Value Attributes, IEEE transactions on knowledge and data engineering, 17, 437–441.

See Also

Examples

data(iris)
ext=extendChi2(iris,0.5)
ext$cutp
ext$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.