Spam Detection With Naïve Bayes And TF-IDF

This paper, titled "Spam Detection With Naïve Bayes And TF-IDF," explores an approach to detecting spam emails by applying Natural Language Processing (NLP) techniques combined with machine learning methods. The study used a balanced dataset of 2,000 emails (1,000 spam and 1,000 non-spam) collected from Kaggle. After text preprocessing, feature extraction was performed using the Term Frequency–Inverse Document Frequency (TF-IDF) method. The Naïve Bayes algorithm achieved 98.86% accuracy and 98.35% F1 score, demonstrating its effectiveness in spam email classification. This article was originally published in the IOSR Journal of Computer Engineering (IOSR-JCE), Volume 27, Issue 4, Series 2 (July–August 2025), pp. 47–51. Original publication link: https://www.iosrjournals.org DOI: 10.9790/0661-2704024751

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-08-07
DOI
https://doi.org/10.5281/zenodo.17504247
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

Spam Detection With Naïve Bayes And TF-IDF

Zenodo (CERN European Organization for Nuclear Research)
Spam and Phishing Detection
article

Spam Detection With Naïve Bayes And TF-IDF

article en

Abstract

This paper, titled "Spam Detection With Naïve Bayes And TF-IDF," explores an approach to detecting spam emails by applying Natural Language Processing (NLP) techniques combined with machine learning methods. The study used a balanced dataset of 2,000 emails (1,000 spam and 1,000 non-spam) collected from Kaggle. After text preprocessing, feature extraction was performed using the Term Frequency–Inverse Document Frequency (TF-IDF) method. The Naïve Bayes algorithm achieved 98.86% accuracy and 98.35% F1 score, demonstrating its effectiveness in spam email classification. This article was originally published in the IOSR Journal of Computer Engineering (IOSR-JCE), Volume 27, Issue 4, Series 2 (July–August 2025), pp. 47–51. Original publication link: https://www.iosrjournals.org DOI: 10.9790/0661-2704024751

Zenodo (CERN European Organization for Nuclear Research)
Tula University (RU), Vistula University (PL)
Quality Education
Openalex Percentile: Top 32%
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.