Research of KNN Text Classification Algorithm Based on Area Division

Author
HuYuan
Advisor
ShiBing
School
Shandong University
Major
Computer Software and Theory
Classification
TP391.1 Text Processing
Degree
Master's thesis
Year
2012
Downloads
137
Citations
0

Request the full text

Abstract

KNN algorithm is a simple, effective and non-parametric classification method. However. However, the kNN algorithm needs to calculate the distance of test sample and each training sample. In order to improve the efficiency of classification, we proposed a fast kNN text classification algorithm based on area division. We divide the training set into several parts based on their area distribution, and then according to the relative positions between test patterns and those parts, we could easily find out k nearest neighbours of the test patterns in the training set. This will sharply cut down the amount of calculation of kNN algorithm.This paper discusses the following partition method:mesh method, clustering method, the same radius spherical method and the same sample spherical method. According to these methods to establish two kinds of pre-classifier model. On this basis, put forward an improved kNN algorithm. Mathematical reasoning and the experimental results both shows that this algorithm has significantly improved the efficiency of classification while keeping the same accuracy rate of kNN classifier algorithm.

Table of contents

Summary 10-11 ABSTRACT 11-12 1 Introduction 12-16 1.1 Background and Significance 12-13 1.2 research status 13-14 1.3 research content and methods 14 1.4 papers constitute 14-16 2 regions division method 16-33 2.1 zoning ideas proposed evaluation criteria and the merits of the zoning method 16-17 2.2 meshing method 17 - 23 2.2.1 grid zoning principle 17-18 2.2.2 mesh zoning method 18-21 2.2.3 grid area primary classification model 21-22 disadvantages nbsp 2.2.4 grid area ; 22-23 2.3 dividing partition clustering method 23-27 <br / > partition dividing principle 2.3.1 cluster area 23-24 2.3.2 cluster region is divided division method 24-25 2.3.3 partition clustering primary classification model area 25-26 advantages and disadvantages 2.3.4 cluster divided region 26-27 2.4 division method , such as the radius of the spherical 27 - 29 2.4.1 zoning principles , such as the radius of the spherical 27 2.4.2 zoning methods such as the radius of the spherical 27-28 2.4.3 etc. radius of the spherical region the primary classification model 28-29 radius of the spherical region , such as the advantages and disadvantages 2.4.4 29 2.5 division method , such as spherical samples 29-31 <br / > 2.5.1 spherical samples such as zoning principle 29-30 2.5.2 spherical samples , such as zoning method primary classification 30 2.5.3 spherical region of the sample , etc. device model 30 2.5.4 improved disadvantages spherical region 30-31 2.6 basic Concepts 31-32 2.6.1 grid regional concepts 31 2.6.2 spherical region concepts 31-32 2.7 Summary 32-33 3 zoning based kNN fast text classification algorithm 33-53 3.1 primary classification algorithm based on improved model grid area 33-44 3.1.1 algorithm Description 33-34 3.1.2 algorithm Analysis 34-36 3.1.3 feasibility Analysis 36-39 3.1.4 parameter estimation 39-44 3.2 primary classification algorithm based on improved model of a spherical region 44-51 3.2.1 improvements to find the nearest neighbor method 44-46 3.2.2 based spherical region of fast kNN text classification algorithm described 46 3.2.3 algorithm Analysis 46-47 3.2.4 feasibility Analysis 47-50 <br / > 3.2.5 parameter estimation 50-51 3.3 Summary 51-53 4 kNN -based regional division improved algorithm of 53-62 <br / > 4.1 data acquisition module 53-54 4.2 pre-processing module 54-55 4.3 feature extraction module 55-57 4.4 zoning module 57-58 4.5 training module 58-59 4.6 classification Module 59-60 4.7 performance Evaluation Module 60 - 61 4.8 Summary 61-62 5 experiments and results analysis 62-87 5.1 experimental set 62-64 5.1 .1 experimental platform 62 5.1.2 dataset 62-63 5.1.3 data preprocessing 63 5.1.4 experimental projects 63-64 5.2 experimental data and analysis 64-86 5.2.1 classical kNN algorithm for text classification results 65-67 5.2.2 zoning kNN text classification algorithm based on the accuracy of the fast results 67-68 5.2.3 kNN -based text classification grid area fast algorithm efficiency experiments 68-76 <br / > 5.2.4 experimental results based on the efficiency of spherical region kNN classification algorithm 76-85 5.2.5 comparison of the relevant literature nbsp kNN classifier algorithm to improve results ; 85-86 <br / > 5.3 summary 86-87 6 summary and Outlook 87-88 Appendix A source code 88-119 A.1 main core code 88-89 A.2 data acquisition module core code 89 A.3 preprocessing module core code 89-91 <br / > A.4 feature reduction module core code 91-97 A.5 zoning module core code 97-100 A.6 training module core code 100 A.7 classification module core code 100-106 A.8 performance evaluation module core code 106-119 References 119 -124 Thanks during 124-125 studying for a degree has published papers directory 125-126 dissertation defense review and table 126

Related dissertations

  1. The Research of Text Classification Based on Artificial Bee Colony Algorithm and Improved KNN Algorithm
    QiXiaoMing ·Shanghai Jiaotong University ·2013 ·Master's thesis
  2. Design and Realization of Text Categorization System
    GaoYaBo ·Beijing Jiaotong University ·2008 ·Master's thesis
  3. The Research on Conducting Chemical Domain Text Classifier Based on Hownet
    TangZuoZuo ·Hunan University ·2007 ·Master's thesis
  4. The Research of Hierarchical Automatic Text Classification Based on the Knowledge Database
  5. Research on Partially Supervised Classification
    KeZuo ·China Agricultural University ·2014 ·Doctoral dissertation
  6. Research of Junk Filtering Algorithm Based on Naive Bayesian of Accumulating Knowledge
    WangHui ·Hunan University ·2013 ·Master's thesis
  7. Research on Text Representation Using the Wikipedia Category
    WangJin ·Northeastern University ·2011 ·Master's thesis
  8. Design and Implement of a Negative IWON Identification System for Automotive Industry
  9. Research on Text Feature Reduction Based on Dependency Relation
  10. Research on Feature Selection Algorithm for Text
    YangRongJie ·Liaoning Normal University ·2012 ·Master's thesis
  11. Microblog Social Relationship Mining
    ChenYi ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Research on Text Classification Algorithms Based on Transfer Learning
  13. Research on Text Classification Method Based on Manifold Learning
    WangGe ·Hebei University of Technology ·2012 ·Master's thesis
  14. An Algorithm to Hierarchical Text Classification Based on Feature Selection
    ShiLiang ·Harbin Engineering University ·2013 ·Master's thesis
  15. The Research of Feature Selection Method in Text Classification Based on Triple-Play
  16. Design and Implementation of Speech Content Emotional Tendencies Classification System Based on Triple-Play
  17. Research and Implementation of Mass Data Archiving and Restoring System
  18. Decision Support System for Investment and Regulatory Based on Internet News Text Mining
  19. Design and Implementation of IWOM Analysis System Based on Web Text Mining
  20. Research on Feature Selection Algorithm for Text Classification
    YangXue ·Liaoning Normal University ·2013 ·Master's thesis