Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Improving Spam Detection with Feature Engineering and Adaptive Learning Approaches

Author 1: Sadeem H. AlHomidan Author 2: Marwah M. Almasri Author 3: Shimaa A. Nagro
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 11 · Published 2025

DOI: https://doi.org/10.14569/IJACSA.2025.0161119

Abstract

Spam email detection is a critical component of securing and maintaining reliable digital communication systems. This study explores the effectiveness of various machine learning algorithms in classifying spam, with an emphasis on enhancing accuracy and precision through systematic preprocessing, advanced feature engineering, and text preprocessing. Six models were evaluated: Logistic Regression, Support Vector Classifier, Multinomial Naïve Bayes, K-Nearest Neighbors, AdaBoost, and Bagging Classifier using a comprehensive preprocessing pipeline that included Term Frequency–Inverse Document Frequency vectorization, feature scaling, and the incorporation of engineered features such as character counts. Experimental results reveal that Multinomial Naïve Bayes consistently achieved the highest precision 1.00 and strong accuracy 0.979 when paired with feature scaling, while Logistic Regression delivered robust and stable performance across multiple configurations with precision exceeding 0.96, making it a reliable choice for real-world deployment. Although Support Vector Classifier and AdaBoost exhibited competitive baseline performance, Support Vector Classifier showed limitations when handling numeric features, whereas AdaBoost maintained consistent results across scenarios. These findings underscore the critical role of tailored preprocessing and ensemble learning in improving classification outcomes and highlight the comparative strengths of different algorithms in real-world spam detection. In particular, Multinomial Naïve Bayes proved highly effective for precision-critical tasks, while Logistic Regression emerged as a dependable solution for environments requiring consistent reliability. Overall, this work advances machine learning-based spam filtering by identifying models that successfully balance precision, adaptability, and computational efficiency.

Keywords

How to Cite this Article

AlHomidan, S. H., Almasri, M. M., & Nagro, S. A. (2025). Improving Spam Detection with Feature Engineering and Adaptive Learning Approaches. International Journal of Advanced Computer Science and Applications, 16(11). https://doi.org/10.14569/IJACSA.2025.0161119

AlHomidan, Sadeem H., et al.. "Improving Spam Detection with Feature Engineering and Adaptive Learning Approaches." International Journal of Advanced Computer Science and Applications, vol. 16, no. 11, 2025, https://doi.org/10.14569/IJACSA.2025.0161119.

@article{AlHomidan2025,
  title     = {Improving Spam Detection with Feature Engineering and Adaptive Learning Approaches},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {11},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Sadeem H. AlHomidan and Marwah M. Almasri and Shimaa A. Nagro},
  doi       = {10.14569/IJACSA.2025.0161119},
  url       = {https://doi.org/10.14569/IJACSA.2025.0161119}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.