Skip to content

Latest commit

Β 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“’ SMS Spam Detector

A web-based spam detection system built with React, Flask, and scikit-learn, capable of classifying SMS messages as spam or not spam in real-time.

🧠 Project Overview

This project was developed as part of our academic internship, where our goal was to build a reliable machine learning model to distinguish between spam and ham (non-spam) SMS messages using Natural Language Processing (NLP) techniques.

We used Python’s machine learning ecosystem to train, evaluate, and deploy a lightweight spam classifier accessible via a modern web interface.


πŸ‘₯ Team Members

  • Faruk Khan
  • Mridul Roy
  • Mriganka Jyoti Deka
  • Sanjeev Iqbal Ahmed
  • Sourav Sharma

πŸš€ Features

βœ‰οΈ For Users

  • πŸ“Š Instant SMS Analysis – Get real-time spam detection results
  • πŸ” Spam Classification – Classifies messages as Spam ❌ or Not Spam βœ…
  • ⚑ Fast & Lightweight – Efficient predictions through pre-trained model
  • 🌎 Online Access – Hosted using Render for seamless usage

πŸ› οΈ Tech Stack

Technology Purpose Version
React βš›οΈ Frontend UI 18.2.0+
Flask 🐍 Backend API 2.3.2+
scikit-learn πŸ“Š ML Model Training 1.3.0+
Pandas πŸ“˜ Data Handling Latest
NumPy πŸ”’ Numerical Operations Latest
Axios πŸ”— API Integration Latest
Gunicorn πŸš€ Production WSGI Latest
Tailwind CSS 🎨 UI Styling 3.3.0+

πŸ“₯ Dataset & Model Info

  • πŸ“‚ Dataset: SMS Spam Collection Dataset
  • 🧠 ML Techniques:
    • Feature Extraction: TF-IDF Vectorizer
    • Algorithms: Multinomial NaΓ―ve Bayes, Logistic Regression
    • Final Model: MultinomialNB with TF-IDF
  • βœ… Evaluation Accuracy: 97.6% on test dataset
  • πŸ“ˆ Evaluation Metrics Used: Accuracy, Precision, Recall, F1-score

🌍 Live Deployment

πŸ”— Try it live: https://sms-spam-detector-b15e.onrender.com


πŸ›‘ Future Enhancements

  • πŸ“Š Add confidence score for predictions
  • 🌍 Multi-language spam detection
  • πŸ“ˆ Improve dataset with real-world examples
  • πŸ“₯ Add email spam detection model

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages