Skip to main navigation Skip to search Skip to main content

BINARY SEAGULLS OPTIMIZATION ALGORITHMS IN RANDOM FOREST CLASSIFIER FOR SPAM AND NON-SPAM EMAILS CLASSIFICATION

Research output: Contribution to journal › Article › peer-review

Abstract

Spam detection is essential for maintaining secure and efficient email communication, as spam messages not only reduce productivity but also pose risks such as phishing, scams, and malware. Effective spam detection improves user experience by filtering out irrelevant messages, safeguarding against fraud, reducing server load, and lowering operational costs. This paper proposes the Binary Seagull Optimization Algorithm (BSOA), a swarm intelligence-based method inspired by seagull migration and hunting behaviors, as an optimizer for classifying spam and non-spam emails using the Spambase dataset from the UCI Machine Learning Repository. BSOA begins by initializing positions and evaluating the objective function, then simulates migration and attack behaviors to generate new candidate solutions, retaining the best ones across iterations. Experimental results show that BSOA improves test accuracy by 1.4% compared to standard Random Forest models, with corresponding gains in precision (1.4%), recall (2.3%), and F1-score (0.5%). Furthermore, BSOA demonstrates competitive performance against other binary metaheuristics, including the Binary Bat, Binary Dragonfly, Binary Gravitational Search, and Binary Whale Optimization Algorithms. Notably, it achieves the lowest computational times for multiple population sizes, such as 20 (630 s), 25 (760 s), and 40 (1297 s), highlighting its efficiency and robustness. These results suggest that BSOA is a promising tool for enhancing spam detection systems by balancing classification accuracy with computational efficiency.

Original languageEnglish
Pages (from-to)23-37
Number of pages15
JournalJournal of Quality Measurement and Analysis
Volume22
Issue number1
DOIs
Publication statusPublished - 26 Mar 2026

Keywords

  • binary seagulls optimization algorithm
  • feature selection
  • random forest classifier
  • swarm intelligent

Fingerprint

Dive into the research topics of 'BINARY SEAGULLS OPTIMIZATION ALGORITHMS IN RANDOM FOREST CLASSIFIER FOR SPAM AND NON-SPAM EMAILS CLASSIFICATION'. Together they form a unique fingerprint.

Cite this