Optimizing Email Spam Classification Using Naïve Bayes and Principal Component Analysis

In the ever-evolving digital era, email spam filtering is an important challenge to maintain the security and comfort of email services. The Naïve Bayes algorithm is widely used for spam email classification because of its ability to manage large data, although there are still limitations in terms of accuracy, precision and recall. This research aims to improve spam email classification performance by combining Naïve Bayes and Principal Component Analysis (PCA) to optimize model accuracy and explore optimal parameters in the reduction dimension. The research methodology goes through the Knowledge Discovery in Database (KDD) stages which include selection, preprocessing, transformation using PCA, development of a classification model using Naïve Bayes, and evaluation of model performance. The dataset used consists of emails categorized as spam and non-spam. The experimental results show that the combination of Naïve Bayes and PCA achieves the highest accuracy of 99.24% with 7 principal components. The fixed number of components approach shows better performance compared to preserving variance, emphasizing the importance of selecting appropriate PCA parameters in improving the effectiveness of model classification. This research shows that PCA not only reduces the complexity of the dataset but also increases the efficiency of the classification algorithm.

Authors

Institutions

Publication Details

Journal
Journal of Artificial Intelligence and Engineering Applications (JAIEA)
Published
2025-02-15
DOI
https://doi.org/10.59934/jaiea.v4i2.803
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Email Spam Classification Using Naïve Bayes and Principal Component Analysis

Tati Suprapti, Rudi Kurniawan, Shinta Virgiana
Journal of Artificial Intelligence and Engineering Applications (JAIEA)
Spam and Phishing Detection
article

Optimizing Email Spam Classification Using Naïve Bayes and Principal Component Analysis

Tati Suprapti, Rudi Kurniawan, Shinta Virgiana
article en

Abstract

In the ever-evolving digital era, email spam filtering is an important challenge to maintain the security and comfort of email services. The Naïve Bayes algorithm is widely used for spam email classification because of its ability to manage large data, although there are still limitations in terms of accuracy, precision and recall. This research aims to improve spam email classification performance by combining Naïve Bayes and Principal Component Analysis (PCA) to optimize model accuracy and explore optimal parameters in the reduction dimension. The research methodology goes through the Knowledge Discovery in Database (KDD) stages which include selection, preprocessing, transformation using PCA, development of a classification model using Naïve Bayes, and evaluation of model performance. The dataset used consists of emails categorized as spam and non-spam. The experimental results show that the combination of Naïve Bayes and PCA achieves the highest accuracy of 99.24% with 7 principal components. The fixed number of components approach shows better performance compared to preserving variance, emphasizing the importance of selecting appropriate PCA parameters in improving the effectiveness of model classification. This research shows that PCA not only reduces the complexity of the dataset but also increases the efficiency of the classification algorithm.

Journal of Artificial Intelligence and Engineering Applications (JAIEA)Vol. 4(2)
Institute of Biology of Komi Scientific Centre (RU)
Openalex Percentile: Top 97%
Spam and Phishing Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.