Skip to content

Mohamed-Devp/spam-detection-with-deep-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Spam Detection

This project demonstrates the training of a deep learning model capable of detecting spam messages. The dataset used for this project is the SMS Spam Collection Dataset from Kaggle.

Table of Contents

Introduction

Spam detection is a critical task in the field of communication, aimed at filtering out unwanted messages. This project leverages NLP techniques to classify SMS messages as spam or ham (non-spam).

Dataset

The dataset used in this project is the SMS Spam Collection Dataset from Kaggle. It contains a collection of SMS messages that have been labeled as either spam or ham.

Model

The model used in this project is a Convolutional neural network (CNN) with a trainable embedding layer.

Installation

To run this project, you need to have Python installed along with the required libraries. You can install the necessary dependencies using the following command:

pip install -r requirements.txt

Usage

To train and test the model, run the main.ipynb notebook. This notebook contains all the steps from data preprocessing, model training, and evaluation.

Results

The performance of the model can be evaluated using metrics such as accuracy, precision, recall, and F1-score. These metrics help in understanding the effectiveness of the spam detection model.

Contributing

Contributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.

About

Train and evaluate a deep learning model capable of detecting spam messages with high accuracy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published