modChi2 | R Documentation |
This function implements the Modified Chi2 discretization algorithm.
modChi2(data, alp = 0.5)
data |
numeric data matrix to discretized dataset |
alp |
significance level, α |
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.
cutp |
list of cut-points for each variable |
Disc.data |
discretized data matrix |
HyunJi Kim polaris7867@gmail.com
Tay, F. E. H. and Shen, L. (2002). Modified Chi2 Algorithm for Discretization, IEEE Transactions on knowledge and data engineering, 14, 666–670.
LevCon
data(iris) modChi2(iris, alp=0.5)$Disc.data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.