Naive Bayesian Spam Filtering

Authors

  • Yuhao Zhu

DOI:

https://doi.org/10.54097/hset.v38i.5734

Keywords:

Spam filtering; E-mails; Naive Bayes.

Abstract

The spam filtering system is used to identify which emails in the received emails are completely meaningless to the recipient and perform operations such as interception and deletion. Nowadays, with the rapid development of the Internet, while e-mail provides convenience for people, spam also comes along with it, which brings many troubles to users. According to statistics, 80% of the emails in the world are spam, and e-spam is really annoying. Therefore, how to solve the problem of filtering emails has important practical significance. Spam filtering using Bayesian theory is a statistical technique applied to email filtering. It essentially uses Bayesian classification to discriminate the attributes of emails, including spam and non-spam. Bayesian-based spam filtering is a very effective technique that can modify the model to meet the needs of specific users and give a lower spam detection rate that is acceptable to users. In this experiment, we use Naive Bayes for experiments, and we use Unigram and bigram methods to preprocess the data, respectively. Finally, it is concluded that the data processing accuracy of unigram and bigram is greater than 0.75, and bigram performs better in four different evaluation indicators.

Downloads

Download data is not yet available.

References

Resource from https://www.statista.com/statistics/456500/daily-number-of-e-mails-worldwide/

D. Lynkova, How Many Emails are Sent Per Day: The Startling Truth [2021] TechJury, Sep. 2021, [online] Available: https://techjury.net/blog/how-many-emails-are-sent-per-day/.

Resource from https://onedrive.live.com/edit.aspx?resid=5F55E6440CEF19A5!2436&ithint=file%2cdocx&wdOrigin=OFFICECOM-WEB.MAIN.MRU

Kosta, E., Valcke, P. and Stevens, D. (2009) ‘'Spam, spam, spam, spam ... Lovely spam!' Why is Bluespam different?’, International review of law, computers & technology, 23(1-2), pp. 89–97. doi:10.1080/13600860902742513.

Chandrasekar, D.C. (2018) ‘CLASSIFICATION TECHNIQUES USING SPAM FILTERING EMAIL’, International journal of advanced research in computer science, 9(2), pp. 402–410. doi:10.26483/ijarcs.v9i2.5571.

Amayri, O. and Bouguila, N. (2010) ‘A study of spam filtering using support vector machines’, The Artificial intelligence review, 34(1), pp. 73–108. doi:10.1007/s10462-010-9166-x.

Saifuldeen H Abdulrahman and Mohammad Salim (2022) ‘Using Decision Tree Algorithms in Detecting Spam Emails Written in Malay: A Comparison Study’, ITM Web of Conferences, 42, p. 01001. doi:10.1051/itmconf/20224201001.

Xu, S. (2018) ‘Bayesian Naïve Bayes classifiers to text classification’, Journal of information science, 44(1), pp. 48–59. doi:10.1177/0165551516677946.

Resource from N-Grams Definition | DeepAI

Mishbah Bilgili (2022). Available at:https://www.kaggle.com/datasets/karthickveerakumar/spam-filter

Downloads

Published

16-03-2023

How to Cite

Zhu, Y. (2023). Naive Bayesian Spam Filtering. Highlights in Science, Engineering and Technology, 38, 64-69. https://doi.org/10.54097/hset.v38i.5734