Multiple Machine Learning Algorithms for Spam Mail Detection

Author:

Chen Simou

Abstract

Due to several issues including clogging mailboxes and obscuring critical personal correspondence caused by a large amount of spam mail, spam filtering application based on machine learning models has become more and more essential. This paper gives a comprehensive evaluation of 4 classic machine learning models including the Naïve Bayes classifier, support vector machine, neural network, and the decision tree in the task of spam email evaluation. In order to make fair comparisons between the algorithms, they were all built by learning from the same training dataset and asked to make predictions on the same testing dataset. More specifically, the Naïve Bayes classifier uses the conditional probability of the Naïve Bayes theorem and consumes the words that appear independently in the emails. The decision tree algorithm keeps recursively splitting the dataset to build a predictive theory. Support vector machine is able to make predictions by transforming the training dataset to a linear equation in n-dimensions. And neural networks can recognize the non-linear relationships between the inputs and outputs by constructing the front, hidden, and output layers. It is observed from the result that all machine learning models have successfully classified spam emails with high testing accuracy which are all above 90%. More specifically, the neural network achieves the highest testing accuracy followed by the support vector machine and decision tree. While the Naïve Bayes classifier does not perform well enough as it must assume the appearance of words happens independently.

Publisher

Darcy & Roy Press Co. Ltd.

Reference10 articles.

1. Wikipedia, Email Spam, Available at: https://en.wikipedia.org/wiki/Email_spam, 2022.

2. Sabrina I. Pacifici. What's On the Other Side of Your Inbox - 20 SPAM Statistics for 2022. Available at: https://www.bespacific.com/20-spam-statistics-for-2022/, 2022.

3. Vikas P. Deshpande, Robert F. Erbacher, Chris Harris. An Evaluation of Naïve Bayesian Anti-Spam Filtering Techniques. IEEE, 2007.

4. H. Drucker, Donghui Wu, V.N. Vapnik. Support vector machines for spam categorization. IEEE Transactions on Neural Networks, 2007.

5. Aman Goel. Spam Detection Using Neural Networks in Python. Available at: https://medium. com/ emergent-future/spam-detection-using-neural-networks-in-python-9b2b2a062272, 2016.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3