extendChi2 {discretization} | R Documentation |
This function implements Extended Chi2 discretization algorithm.
extendChi2(data, alp = 0.5)
data |
data matrix to discretized dataset |
alp |
significance level; |
In the extended Chi2 algorithm, inconsistency checking(InConCheck(data) < \delta
) of the Chi2 algorithm is replaced by the lease upper bound \xi
(Xi()
) after each step of discretization (\xi_{discretized} < \xi_{original}
).
It uses as the stopping criterion.
cutp |
list of cut-points for each variable |
Disc.data |
discretized data matrix |
HyunJi Kim polaris7867@gmail.com
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.
data(iris)
ext=extendChi2(iris,0.5)
ext$cutp
ext$Disc.data