chi square feature analysis

Version 1.0.0.0 (1.53 KB) by ming
it attempts to analyze the relevance between features and labels, for feature selection, etc.
938 Downloads
Updated 25 Jun 2010

View License

parameter 1 is feature value (discrete), parameter 2 is the corresponding labels

the reference paper is: S. Wu, P. A. Flach, Feature selection with labeled and unlabeled data, available at
http://ai.ijs.si/branax/iddm-2002_proceedings/Wu.pdf

relevant paper is: Technical Note: Bias in Information-Based Measures in Decision Tree Induction.

I programmed the file according to the first paper, but I find that the results are not reasonable, wondering if it is the drawback of chi square feature analysis method or some bugs in my file. Hope somebody can point out.

The computed chi value needs to compared with chi square table to see how important are the features.
chi square table:
http://www.ma.utexas.edu/users/davis/375/popecol/tables/chisq.html

Cite As

ming (2024). chi square feature analysis (https://www.mathworks.com/matlabcentral/fileexchange/28012-chi-square-feature-analysis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0