Spam Detection Using Machine Learning: A Logistic Regression Approach

Spam emails pose a significant challenge to digital communication, leading to security threats and reduced productivity. This paper proposes a machine learning-based strategy to spam detection using Logistic Regression with TF-IDF vectorization. The dataset is prepared by handling missing values and normalizing labels. A TF-IDF model with bigram inclusion is implemented for feature extraction, followed by a balanced Logistic Regression classifier to address class imbalance. Experimental results indicate promising accuracy, demonstrating the effectiveness of the proposed method. Future enhancements include deep learning models and ensemble techniques for improved spam classification.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-03-27
DOI
https://doi.org/10.5281/zenodo.15093546
Primary Topic
Mosquito-borne diseases and control
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Spam Detection Using Machine Learning: A Logistic Regression Approach

Zenodo (CERN European Organization for Nuclear Research)
Mosquito-borne diseases and control
article

Spam Detection Using Machine Learning: A Logistic Regression Approach

article en

Abstract

Spam emails pose a significant challenge to digital communication, leading to security threats and reduced productivity. This paper proposes a machine learning-based strategy to spam detection using Logistic Regression with TF-IDF vectorization. The dataset is prepared by handling missing values and normalizing labels. A TF-IDF model with bigram inclusion is implemented for feature extraction, followed by a balanced Logistic Regression classifier to address class imbalance. Experimental results indicate promising accuracy, demonstrating the effectiveness of the proposed method. Future enhancements include deep learning models and ensemble techniques for improved spam classification.

Zenodo (CERN European Organization for Nuclear Research)
Reduced inequalities
Openalex Percentile: Top 43%
Mosquito-borne diseases and control
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.