Improving Statistical Bayesian Spam Filtering Algorithms
- 作者
- Raju Shrestha
- 导师
- Yaping Lin
- 学校
- 湖南大学
- 专业
- 计算机科学与技术
- 分类号
- TP183 人工神经网络与计算
- 学位
- 硕士学位论文
- 年份
- 2005
- 下载次数
- 35
- 被引次数
- 0
摘要
The aim of this thesis is to improve accuracy of Bayesian spam filtering, the most popular and widely used approach in spam filtering. Among the various possible approaches to this aim, two approaches that improved the filtering performances are presented in this thesis. Three popular evolutions of Bayesian spam filtering algorithms: Naive Bayes, Paul Graham’s and Gary Robinson’s are reviewed. Formulated on top of those evolutions, proposed algorithms incorporate new novel ideas.The first approach proposed is co-weighting of multiple probability estimations. Though based on Bayesian theorem, several ways of computing probability estimations have been proposed and used. Those estimations are examined and a new, combined, more effective estimation based on co-weighted multi-estimations is proposed. The approach is compared with individual estimations.The second approach is based on co-weighted multi-area information. Bayesian spam niters, in general, compute probability estimations for tokens either without considering the email areas of occurrences except the body or treating the same token occurred in different areas as different tokens. However, in reality the same token occurring in different areas are inter-related and the relation too could play role in the classification. This novel idea is incorporated, co-relating multi-area information by co-weighting them and obtaining more effective combined integrated probability estimations for tokens. It is shown that this approach also improves the performance of spam filtering. The new approach is compared with individual area-wise estimations and traditional separate estimations in all areas.
目录
Table of Contents 5-8
List of Tables 8-9
List of Figures 9-10
Abstract 10-12
Acknowledgements 12-13
1 Introduction 13-19
1.1 Spam and its Types 13-14
1.2 Anti-spamming Techniques 14-16
1.3 Previous Works on Bayesian Spam Filtering 16-17
1.4 Contributions 17-18
1.5 Thesis Organization 18-19
2 Statistical Bayesian Spam Filtering Algorithms 19-28
2.1 Spam Filtering Steps 20-22
2.2 Naive Bayes (NB) Algorithm 22-23
2.3 Paul Graham's (PB) Algorithm 23-25
2.4 Gary Robinson's (GR) Algorithm 25-27
2.5 Dealing with Small Probabilities and Normalization 27-28
3 Preprocessing and Feature Selection 28-31
3.1 Preprocessing 28-29
3.2 Feature extraction or Tokenization 29-31
4 Filtering Based on Co-weighted Multi-estimations 31-35
4.1 Main Idea and Algorithm Description 31-33
4.2 Training Algorithm 33-34
4.3 Classification Algorithm 34-35
5 Filtering Based on Co-weighted Multi-area Information 35-39
5.1 Main Idea and Algorithm Description 35-37
5.2 Training Algorithm 37
5.3 Classification Algorithm 37-39
6 Dataset Collections and Evaluation Measures 39-44
6.1 Corpora Collections 39-41
6.2 Evaluation Measures 41-44
7 Experiments and Analysis 44-60
7.1 Parameters Tuning 44-46
7.2 Experiments with Co-weighted Multi-estimations 46-52
7.2.1 Experiments and Results 46-51
7.2.2 Analysis 51-52
7.3 Experiments with Co-weighted Multi-area Information 52-60
7.3.1 Experiments and Results 52-57
7.3.2 Analysis 57-60
8 Conclusions and Future Work 60-62
8.1 Conclusions 60-61
8.2 Future Work 61-62
Appendix 62-157
A Implementation of Filter Application 62-69
A.1 Data Structures 62-65
A.2 Source Files 65-68
A.3 Data Files 68-69
B Application User's Manual 69-79
B.1 System Requirements 69
B.2 Installation of the Application 69-70
B.3 Running and Using the Application 70-79
B.3.1 Dataset Preparer 70-71
B.3.2 Trainer 71-72
B.3.3 Classifier 72-75
B.3.4 Tester 75-79
C Program Documentation 79-155
C.1 Package and Class Summaries 79-81
C.1.1 Class Summary 79-80
C.1.2 Enum Summary 80-81
C.2 Hierarchy For Package rsspambayes 81-82
C.2.1 Class Hierarchy 81
C.2.2 Enum Hierarchy 81-82
C.3 Class Details 82-150
C.3.1 Algorithm 82-83
C.3.2 Category 83-85
C.3.3 Classifier 85-90
C.3.4 Counts 90-94
C.3.5 DatasetPreparer 94-95
C.3.6 FreqTable 95-98
C.3.7 Frequencies 98-105
C.3.8 GRobinsonBayes 105-109
C.3.9 NaiveBayes 109-113
C.3.10 PGrahamBayes 113-117
C.3.11 RShresthaBayesl 117-121
C.3.12 RShresthaBayes2 121-128
C.3.13 Stats 128-131
C.3.14 Tester 131-135
C.3.15 Tokenizer 135-142
C.3.16 Trainer 142-144
C.3.17 Utils 144-150
C.4 Enum Details 150-155
C.4.1 Algorithms 150-151
C.4.2 Areas 151
C.4.3 EmailCats 151-152
C.4.4 Headers 152
C.4.5 HtmlTags 152-153
C.4.6 Method Detail for All Enum Types 153-155
D List of Papers Published 155-157
Bibliography 157-161
相关论文
- 敷布机吊带机械手的研究
- 高中思想政治课渗透心理健康教育的研究
- 心理健康教育在高中思想政治课教学中的渗透研究
- 初中物理教学中渗透物理学史的现状调查研究
- 西北民族地区中学化学中渗透环境教育的研究-以甘肃为例
- 高中数学教学中德育的渗透
- 浅论高中语文教学的人文精神渗透问题
- 中学语文教学中的德育思考
- 《论语》思想在中学德育中的渗透研究
- 数学文化在小学数学教学中的渗透研究-基于锦州市某小学的调查
- 冰丸侵彻高温熔融粘结灰过程的机理研究
- 向量式有限元薄壳单元的理论与应用
- 盾构隧道壁后注浆浆液扩散机理研究
- 动能侵彻弹体的侵蚀分析
- 三维FE-SPH自适应耦合方法在混凝土侵彻问题中的应用
- 弹体头部形状的侵彻规律研究及其优化设计
- 弹体改性区对弹丸过载性能和破片形成的影响
- 金属靶板的环形切割—随进侵彻效应研究
- 典型有机污染物在植物角质层上的吸附行为与跨膜过程
- 超高压协同β-环糊精渗入对方便米饭性质的影响