Skip to content

This project is a machine learning application that detects whether an SMS message is Spam or Ham (Not Spam). It uses Python, Streamlit, and Scikit-learn for building and deploying the model.

Notifications You must be signed in to change notification settings

J-TECH-bot/SMS_Spam-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“© SMS Spam Classification

A Machine Learning + Streamlit web application that classifies SMS messages as Spam or Ham (Not Spam). This project uses a trained ML model and TF-IDF vectorizer to predict whether a given SMS is spam.

πŸš€ Features

βœ… Upload or enter an SMS message and check if it’s Spam or Ham βœ… Built using Scikit-learn for model training βœ… TF-IDF Vectorizer for text preprocessing βœ… Streamlit web app for interactive UI βœ… Lightweight and fast prediction

βš™οΈ Installation & Setup

Clone the repository:

https://github.com/J-TECH-bot/SMS_Spam-Classifier.git cd sms-spam-classification

Create a virtual environment and activate it:

python -m venv venv venv\Scripts\activate # On Windows
source venv/bin/activate # On Mac/Linux

Install dependencies:

pip install -r requirements.txt

Run the Streamlit app:

streamlit run app.py

πŸ“Š Dataset

The dataset used is spam_sms.csv, which contains labeled SMS messages categorized into:

Spam β†’ Unwanted promotional/advertisement messages

Ham β†’ Normal, meaningful SMS messages

πŸ“¦ Requirements

Main libraries used:

scikit-learn 1.7.1

streamlit

pandas

numpy

(Complete list in requirements.txt)

πŸ“Œ Future Improvements

Add support for multiple languages

Enhance UI with charts and analytics

Deploy on Streamlit Cloud / Heroku / Render

πŸ‘¨β€πŸ’» Author

Developed by Jay Deshmukh ✨

About

This project is a machine learning application that detects whether an SMS message is Spam or Ham (Not Spam). It uses Python, Streamlit, and Scikit-learn for building and deploying the model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published