Research of Weight Algorithm in KNN Text Classification
- Author
- ZhaoXiaoHua
- Advisor
- MaJianFen
- School
- Taiyuan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP391.1 Text Processing
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 227
- Citations
- 5
Abstract
With the popularity of the Internet, and now the government, enterprises, families are using the online electronic resources, or to send a large number of electronic documents on the Internet, such as e-news, e-mail, e-books, and so on. Since the rapid expansion in the number of the electronic document on the Internet, how quickly within a short period of time, the effective processing of a huge number of text documents, has become a hot research. At present, the text categorization technology has been widespread concern because of its practicality. Text classification has called this a popular research topic. Text classification is the text to be classified according to their content automatically divided into predetermined good category. Text classification steps generally include the text pre-processing, feature selection and feature weight calculation, classification, performance evaluation. Feature weight calculation method is a key link in the text classification related to the classification of the final results. The traditional feature weight algorithm TFIDF use important consideration to appear more frequently in the text, and other text in the text set feature fewer items. Because the TFIDF no taking into account the relationship between categories of the feature items and text TFIDF algorithm accuracy is not high. In view of the the the TFIDF algorithm itself defects, we guess whether the calculation function based on the aggregation feature selection algorithm to form a new weighting function TFIDF function so that you can avoid the defects in the traditional weights. In this paper, re-calculation method of feature selection for text classification and rights discussed proposed new class-based distribution of information and the location information of the new term weight algorithm. In this paper, the Chinese Lexical Analysis System Institute of Computing ICTCLAS (Institute of Computing Technology, Chinese Lexical Analysis System). Test use of the system in the KNN classifier TFIDF improved algorithm, based on the experimental results the following conclusions can be drawn: (1) select the mutual information of the expected cross entropy, the different characteristics of the information gain, the text weight of evidence, and CHI Probability and Statistics The selection algorithm for the comparative experiments, experimental results show that the feature selection algorithm is relatively large impact on classification accuracy. In these types of algorithms, feature selection effect of the text weight of evidence is the best, followed by information gain, CHI, expect cross entropy, mutual information classification worst effect. (2) to compare the weights have calculated respectively selected as the TFIDF the TF * CHI, the TFIDF * CHI single category classification results by different types of micro-precision experiments feature weights formula. Through experiments, we can draw the following conclusions: TF * CHI improved formula weight category classification results either recall or check the precision is the worst TFIDF * CHI weights formula with the traditional TFIDF formula is not very different from the overall point of view, but improved weight calculation method can be found through careful study of the impact on the already high precision category is not very big, but it was originally classified effect The not-so-good category classification performance has greatly improved. (3) Select the mutual information, the expected cross entropy, information gain, the text weight of evidence, and CHI probability and statistics different feature selection algorithm, and then were to select the TFIDF TF * characteristic selection function, the TFIDF * Feature selection function different weights value calculating method, the use of KNN classification model, comparative experiment, comparison improved feature item weight calculation method of the final classification results. Experiments can be seen, no matter what kind of feature selection function, function selected as TF when the feature weights * Feature selection function, the classification results are lower than the weighting functions TFIDF TFIDF * Feature selection function situation. 5 kinds of feature selection in addition to the information gain function in any of the other kind of high classification accuracy than the original TFIDF the TFIDF * Feature selection function. This case illustrates, and can not arbitrarily say certain what kind of feature selection algorithm or weight calculation method is necessarily good, but depends on the combination of the feature selection algorithm and weights algorithm, only with the right to play to their strengths, optimizing the classification results .
Table of contents
Abstract 3-5
ABSTRACT 5-11
first chapter 11-17
1.1 research background and significance 11 - 12
1.2 studies the history and current situation at home and abroad 12-13
1.2.1 Text Categorization Research abroad 12
1.2.2 Research nbsp domestic text classification ; 12-13
1.3 Text Classification of the development process 13-14
1.4 Overview of text classification 14-15
1.4.1 Definition of Text Categorization 14
1.4.2 text categorization features 14
1.4.3 Types of Text Classification 14-15
1.4.4 text classification model 15
1.5 Text Categorization applications 15-16
1.6 paper structure 16-17
Chapter text categorization of the key technologies 17-25
2.1 text classification process and framework 17-18
2.2 textual representation 18-19
2.2.1 text representation 18
2.2.2 Text Similarity Computing 18-19
2.3 text preprocessing 19-22
2.3.1 Documents feature representation 19-20
2.3.2 Segmentation 20-21
2.3.3 stop word processing 21-22
2.4 feature selection 22-23
2.4.1 feature dimension reduction 22
2.4.2 feature item weight calculation 22
2.4.3 feature selection function 22-23
2.5 Classification Algorithm 23
2.6 Performance Evaluation 23
2.7 Summary 23-25 ??
Chapter Feature Selection Method 25-29
3.1 feature selection defines 25
3.2 feature selection method 25-28
3.3 Comparison of feature selection algorithm 28
3.4 Summary 28-29
Chapter term weight calculation method 29-33
4.1 common feature item weight calculation method 29 - 30
4.2 TFIDF introduction 30-31
4.3 TFIDF algorithm advantages and disadvantages 31
4.4 This chapter summarizes 31-33
first chapters term weight calculation method to improve 33-39
5.1 TFIDF weighting approach 33
5.2 features improved weight calculation method 33-38
5.2.1 TF * feature extraction function 34-36
5.2.2 TFIDF * feature extraction function 36-38
5.3 This chapter summarizes 38-39
Chapter KNN algorithm introduces 39-43
6.1 Typical classification model 39-40
6.2 KNN classification model 40-41 <br / > 6.3 KNN algorithm model advantages and disadvantages 41
6.4 Comparison of various classification models feature 41-42
6.5 Chapter Summary 42-43
Chapter VII of the system design and experimental 43-57
7.1 Text Classification Model 43-44
7.2 System Architecture 44
7.3 Experimental environment 44-45
7.4 Performance Evaluation 45-46
7.5 text categorization experiments 46-55
7.5.1 sample set 46
7.5.2 Experimental Procedure 46-50
7.5.3 Experimental results and evaluation 50-55
7.6 Chapter Summary 55-57
Chapter Summary and Outlook 57-59
References 59-62
Thanks 62-63
published during the academic degree program Papers 63
Related dissertations
- The Key Technology and System Implementation on Grain Public Opinion Analysis
- Applications of Data Mining Techniques to Text Classification and Bioinformatics
- Research on Feature Selection Algorithm for Text
- Microblog Social Relationship Mining
- The Research of Feature Selection Method in Text Classification Based on Triple-Play
- Research on Feature Selection Algorithm for Text Classification
- The Key Technology and System Implementation on Grain Information Automatic Acquisition
- The Research on Text Classification Technology Based on the Rough Set Theory
- The Research and Implementation of Chinese Text Classification Based on Feature Selection and LDA
- Improvement on Mutual Information in Feature Selection Based on Composite Ratio
- Study of genetic algorithm and its application in information filtering
- Study on rapid large-scale hierarchical text classification problems based on the class center
- The Study of Forestry Yellow Page Automatic Classification
- Research of Network Information Collection and Intelligent Processing Technology
- Text Feature Selection for Transfer Learning
- The Research of the File Safety Monitor Based on the Feature Selection
- The Design and Implementation of Forum Management Decision Support System
- Text Classification Based on Gravitation Field Model
- Research on Key Technologies of Chinese Text Categorization
- Research and Application of Automatic Categorization of the Chinese Documents