https://github.com/dhruvv1402/spam-detection-python-
This project is a Spam Detection System built using Python. It classifies SMS messages as spam or ham (not spam) using machine learning techniques.
https://github.com/dhruvv1402/spam-detection-python-
countvectorizer kaggle-dataset nlp-machine-learning nltk numpy pandas python scikit-learn supervised-machine-learning tf-idf
Last synced: 11 months ago
JSON representation
This project is a Spam Detection System built using Python. It classifies SMS messages as spam or ham (not spam) using machine learning techniques.
- Host: GitHub
- URL: https://github.com/dhruvv1402/spam-detection-python-
- Owner: dhruvv1402
- License: mit
- Created: 2025-03-30T18:16:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-30T18:20:11.000Z (11 months ago)
- Last Synced: 2025-03-30T19:26:04.003Z (11 months ago)
- Topics: countvectorizer, kaggle-dataset, nlp-machine-learning, nltk, numpy, pandas, python, scikit-learn, supervised-machine-learning, tf-idf
- Language: Python
- Homepage:
- Size: 209 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spam Detection in Python
## Overview
This project is a **Spam Detection System** built using **Python**. It classifies SMS messages as **spam** or **ham (not spam)** using machine learning techniques.
## Features
- Preprocessing of SMS text data
- Training a machine learning model for spam classification
- Evaluating model accuracy and performance
- User-friendly implementation with Python
## Dataset
The dataset used for training the model is the **SMS Spam Collection Dataset**, sourced from Kaggle:
[SMS Spam Collection Dataset](https://www.kaggle.com/datasets/uciml/sms-spam-collection-dataset)
## Installation
To set up the project, clone the repository and install the required dependencies:
```sh
git clone https://github.com/dhruvv1402/Spam-Detection-Python-.git
cd Spam-Detection-Python-
pip install -r requirements.txt
```
## Usage
Run the script to test the spam detection system:
```sh
python spam_detection.py
```
## Dependencies
Ensure you have the following Python libraries installed:
- pandas
- numpy
- scikit-learn
- nltk
## Model
The project uses **Natural Language Processing (NLP)** techniques and a **Machine Learning model** (e.g., Naïve Bayes, Logistic Regression) to classify SMS messages.
## Contributions
Feel free to contribute by submitting pull requests or reporting issues!
## License
This project is open-source and available under the MIT License.