chiM | R Documentation |
This function implements ChiMerge discretization algorithm.
chiM(data, alpha = 0.05)
data |
numeric data matrix to discretized dataset |
alpha |
significance level; α |
The ChiMerge algorithm follows the axis of bottom-up. It uses the χ^2 statistic to determine if the relative class frequencies of adjacent intervlas are distinctly different or if they are similar enough to justify merging them into a single interval(Kerber, R. (1992)).
cutp |
list of cut-points for each variable |
Disc.data |
discretized data matrix |
HyunJi Kim polaris7867@gmail.com
Kerber, R. (1992). ChiMerge : Discretization of numeric attributes, In Proceedings of the Tenth National Conference on Artificial Intelligence, 123–128.
chiSq
, value
.
#--Discretization using the ChiMerge method data(iris) disc=chiM(iris,alpha=0.05) #--cut-points disc$cutp #--discretized data matrix disc$Disc.data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.