Performance Evalution of Hyperparameter Tuning Techniques for Machine Learning Models in Spam Detection

Hyperparameter selection plays a pivotal role in optimizing the performance of machine learning models, particularly for tasks such as spam detection, where both accuracy and computational efficiency are critical. In this study, the Spambase dataset from the UCI Machine Learning Repository was used to evaluate six machine learning models: Multi-Layer Perceptron (MLP), Light Gradient Boosting Machine (LightGBM), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Decision Tree (DT), and K-Nearest Neighbors (KNN). These models were optimized using six hyperparameter optimization techniques: Covariance Matrix Adaptation Evolution Strategy (CMA-ES), Differential Evolution (DE), Bayesian Optimization (BO), Genetic Algorithm (GA), Tree-structured Parzen Estimator (TPE), and Particle Swarm Optimization (PSO). The analysis highlights the significant impact of model and optimization method selection on predictive performance and resource efficiency. Based on the experimental results, XGBoost achieved the highest accuracy (0.9824), showcasing its effectiveness in spam detection tasks. LightGBM demonstrated a favorable balance between accuracy (0.9674) and optimization speed, making it a practical alternative. Decision Tree models were notable for their computational efficiency, optimizing in as little as 2.81 seconds with TPE. Bayesian Optimization and TPE emerged as the most efficient hyperparameter tuning methods, achieving competitive accuracy with minimal time costs. Future studies could focus on addressing challenges such as computational complexity and evolving spam patterns by exploring advanced optimization strategies and adaptive deep learning models.

Authors

Institutions

Publication Details

Journal
European Journal of Technic
Published
2025-12-31
DOI
https://doi.org/10.36222/ejt.1640531
Primary Topic
Machine Learning and Data Classification
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Performance Evalution of Hyperparameter Tuning Techniques for Machine Learning Models in Spam Detection

İbrahim Alper DOĞRU, Hamdullah Karamollaoğlu
European Journal of Technic
Machine Learning and Data Classification
article

Performance Evalution of Hyperparameter Tuning Techniques for Machine Learning Models in Spam Detection

İbrahim Alper DOĞRU, Hamdullah Karamollaoğlu
article en

Abstract

Hyperparameter selection plays a pivotal role in optimizing the performance of machine learning models, particularly for tasks such as spam detection, where both accuracy and computational efficiency are critical. In this study, the Spambase dataset from the UCI Machine Learning Repository was used to evaluate six machine learning models: Multi-Layer Perceptron (MLP), Light Gradient Boosting Machine (LightGBM), Random Forest (RF), Extreme Gradient Boosting (XGBoost), Decision Tree (DT), and K-Nearest Neighbors (KNN). These models were optimized using six hyperparameter optimization techniques: Covariance Matrix Adaptation Evolution Strategy (CMA-ES), Differential Evolution (DE), Bayesian Optimization (BO), Genetic Algorithm (GA), Tree-structured Parzen Estimator (TPE), and Particle Swarm Optimization (PSO). The analysis highlights the significant impact of model and optimization method selection on predictive performance and resource efficiency. Based on the experimental results, XGBoost achieved the highest accuracy (0.9824), showcasing its effectiveness in spam detection tasks. LightGBM demonstrated a favorable balance between accuracy (0.9674) and optimization speed, making it a practical alternative. Decision Tree models were notable for their computational efficiency, optimizing in as little as 2.81 seconds with TPE. Bayesian Optimization and TPE emerged as the most efficient hyperparameter tuning methods, achieving competitive accuracy with minimal time costs. Future studies could focus on addressing challenges such as computational complexity and evolving spam patterns by exploring advanced optimization strategies and adaptive deep learning models.

European Journal of TechnicVol. 15(2)
Elekta (Switzerland) (CH), Gazi Hastanesi (TR)
Decent work and economic growth
Openalex Percentile: Top 14%
Machine Learning and Data Classification
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.