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

chiM

Discretization using ChiMerge algorithm


Description

This function implements ChiMerge discretization algorithm.

Usage

chiM(data, alpha = 0.05)

Arguments

data

numeric data matrix to discretized dataset

alpha

significance level; α

Details

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)).

Value

cutp

list of cut-points for each variable

Disc.data

discretized data matrix

Author(s)

References

Kerber, R. (1992). ChiMerge : Discretization of numeric attributes, In Proceedings of the Tenth National Conference on Artificial Intelligence, 123–128.

See Also

Examples

#--Discretization using the ChiMerge method
data(iris)
disc=chiM(iris,alpha=0.05)

#--cut-points
disc$cutp
#--discretized data matrix
disc$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.