基于代表样本的中文网页分类研究
原站著录信息
摘要
硕士学位论文 论文题目: 基于代表样本的中文网页分类研究 Research of Chinese Page Automatic Classification Based on Representive Samples 目 录 摘 要 i ABSTRACT iii 第1章 绪论 1 1.1课题的研究背景及意义 1 1.2国内外研究现状 2 1.2.1自动分类技术的发展趋势 2 1.2.2分类模型和分类算法的发展现状 3 1.2.3基于网页特性的分类研究现状 4 1.3课题研究的主要内容 5 1.4论文的组织结构 5…
硕士学位论文
论文题目:
基于代表样本的中文网页分类研究
Research of Chinese Page Automatic Classification Based on Representive Samples
目 录
摘 要 i
ABSTRACT iii
第1章 绪论 1
1.1课题的研究背景及意义 1
1.2国内外研究现状 2
1.2.1自动分类技术的发展趋势 2
1.2.2分类模型和分类算法的发展现状 3
1.2.3基于网页特性的分类研究现状 4
1.3课题研究的主要内容 5
1.4论文的组织结构 5
第2章 中文网页分类关键技术 7
2.1文本分类技术概述 7
2.1.1文本分类概念 7
2.1.2自动分类的方法 7
2.1.3网页分类过程 8
2.2网页预处理 9
2.2.1HTML文档解析 9
2.2.2中文分词 10
2.2.3停用词删除 10
2.2.4 词性选择 11
2.3文本表示 12
2.3.1向量空间模型 12
2.3.2权重计算 12
2.4特征选取技术 14
2.4.1文档频率(DF) 14
2.4.2信息增益(IG) 15
2.4.3开方拟合检验(χ2-CHI) 15
2.4.4互信息法(MI) 15
2.5分类算法简介 16
2.5.1简单距离向量法 16
2.5.2朴素贝叶斯(Naive-Bayes) 17
2.5.3支持向量机方法(SVM) 17
2.5.4最近邻居算法(NN) 19
2.6文本分类效果评价指标 19
2.7网页分类在搜索引擎中的应用 21
2.8本章小结 22
第3章 基于代表样本的KNN算法研究 23
3.1KNN算法 23
3.1.1算法描述 23
3.1.2算法分析 24
3.1.3相关研究工作 24
3.2代表样本生成新策略 25
3.2.1代表样本概念的提出 25
3.2.2一种新的代表样本生成策略 26
3.3改进算法描述 29
3.3.1训练算法 29
3.2.2分类算法 29
3.4基于代表样本生成策略的KNN分类过程 30
3.5本章小结 30
第4章 中文网页分类器设计与实现 32
4.1开发与运行平台 32
4.2处理流程 32
4.3分类器设计说明 32
4.3.1系统结构 32
4.3.2模块功能描述 33
5.3.3系统类说明 35
4.3.4数据集说明 35
4.3.5网页下分类器CPCK界面 36
4.4实验结果分析 37
4.4.1代表样本法与传统KNN算法的实验比较 37
4.4.2代表样本法与其他算法的实验比较 39
第5章 结论 42
5.1主要工作 42
5.2主要创新点 42
5.3存在的问题及未来的方向 43
参考文献 44
致 谢 46
CONTENTS
Chinese abstract i
English abstract iii
chapter 1 introduction 1
1.1 background and significance of research............................................................1
1.2 research actuality 2
1.2.1 trend of development 2
1.2.2 development present situation 3
1.2.3 Sort research 4
1.3 main content of study 5
1.4 organization structure 5
chapter 2 Key technology 7
2.1technological summary 7
2.2webpage preconditioning 9
2.3expression of text 12
2.4technology of characteristic Choose 14
2.5brief introduction 16
2.6result of Appraisal Index 20
2.7application 21
2.8brief summary 23
chapter 3Study of algorithm 24
3.1KNN aAlgorithm Study 24
3.2new tactics 26
3.3 improvement description 30
3.4categorised course 31
3.5 brief summary 32
chapter 4 design and realize 33
4.1 platform 33
4.2 procedure of handle 33
4.3design explanation 33
4.4experiment result analyze 38
Chapter 5 summary and vista 43
References 45
Acknowledge 47
摘 要
随着网络技术地飞速发展,Web上的网页数量呈指数增长。如何把网页按类分好,为使用者提供硕士论文帮写直接有效的信息,是网页分类研究的重点。搜索引擎已成为目前用户年到达率最高的互联网服务,信息技术的发展和互联网资源的迅速膨胀对传统的搜索引擎提出了挑战。在提高搜索引擎对信息的检索效率和用户操作的方便性方面,中文网页自动分类技术是一个有效的解决方案,是中文信息处理中的重要环节。它能够自动地把搜索引擎检索到的结果归类,便于用户按类别进行查找,提高检索信息的效率,已成为信息检索方向的研究热点。该技术能够大大减少浏览网页的数量,提高检索效率,方便用户快速查询到需要相关的信息。此外,网页分类也有助于对信息资源进行组织管理,合理的加以利用,有助于主题词典的建立和维护,对主题搜索引擎的发展起了推动作用。
在文中,作者首先分析了系统的开发背景和国内网页自动分类研究的发展情况,介绍了网页分类的原理、流程和分类的各项关键技术。阐述了网页预处理、向量空间模型的原理、特征选取技术、流行的分类算法和分类的评价指标,对这几种分类算法进行分析,深入研究了KNN算法,分析了国内外主要的改进算法,发现KNN在大规模在线分类方面存在着效率上的缺陷。从修剪训练集合的角度出发,提出了一种生成代表样本集合的算法,并在中文网页分类器CPCK上进行验证,从而证明,该算法与普通的KNN分类算法相比,分类效率得到了一定程度的提高。在系统的设计上,作者严格按照统一建模语言UML的模式来进行。详细地画出分类器CPCK的处理流程图。在实现部分,系统是在WindowsXP操作系统,以:Visual C++ 6.0为开发工具,结合HTMLParser, Boost相关组件设计出来地。整个分类器包括网页信息保存处理模块、训练集(测试集)读取模块、代表样本集生成模块、网页相似度计算模块、候选类列表生成模块、结果类列表生成模块、分类结果显示模块和结果评测模块等。各个模块内部又包含若干不同的子模块,用来实现不同的功能。完成后的系统将提高检索效率,迅速而又准确地分类,方便用户快速查询到需要相关的信息。
关键字:网页自动分类;向量空间模型;KNN算法;代表样本
ABSTRACT
With the develope of the network technology, webpage quantity is increasing.it is necessary for webpage classification. Offer directly effective information to user. it is necessary for information retrieval technologyhttp: to be improved. Search engineer has become the most popular web service on the Internet. Page automatic classification is a useful tool to improve the performance of search engine. It is a key procedure of the Chinese information process. Page classification can automatically classify web pages to certain topics to show users a legible topic list and make user find what they want much easily. The research of page classification has become a hotspot in information retrieval field. page classification can reduce the numbers of pages user explore, improve the efficiency of search engineering. Page classification also contributes to information resource management, theme dictionary contribution and search engineering development.
In the paper, first of all ,the author analyzes the development background of this system and the development circumstance of the information management of page classification; summarizes the main problems needed to be resolved; briefly introduces main technique and main contribution adopted by system. Introduce the principle, procedure and relative technology of page classification, including page pre-process, vector space model and feature extraction. Then discusse several popular text classification algorithms and their metewand. At last summarize page classification’s advantage to search engine. By comparing these algorithms, find that KNN is the most favorable one for web page classification and is the keystone to research for our work. Research KNN (K-Nearest Neighbors) algorithm deeply, analyze the defects of the KNN, and propose an improvement method- reprehensive sample algorithm to make KNN more efficiency. On the design of system, author proceeds strictly according to unified modeling language UML. In realization part, system is in WindowsXP operating system, with: 6.0 Visual C developing instrument, combine HTMLParser, Boost relevant packages design come out place.
The classifying device includes: keep and deal with the module, read the module, turn into module, calculation module on behalf of sample, person who stand for election tabulation turn into module, result tabulation turn into module, categorised result reveal module, result assess and test module,etc.. The system will improve the eff
