Skip to content

Janediaa/SMS-Spam-Detection-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMS Spam Detection System

A machine learning-based web application for detecting spam SMS messages using multiple classification models with ensemble predictions.

Features

  • Multi-model ensemble: Naive Bayes, SVM, Random Forest, XGBoost
  • Real-time spam/ham classification
  • Responsive web interface

Installation

Follow these steps to set up the project on your local machine.

Prerequisites

  • Python 3.8+
  • pip

Steps

  1. Clone the repository:
    git clone <repository-url>
    cd SMS-Spam-Detection-Project
  2. Create and activate a virtual environment:
    python -m venv venv
    venv\Scripts\activate  # On Windows
  3. Install dependencies:
    pip install -r requirements.txt

Usage

Train Models

cd backend
python train_models.py

Run the Application

cd backend
python app.py

Access the app at http://localhost:5000.

Project Structure

SMS-Spam-Detection-Project/
├── backend/       # Flask backend
├── frontend/      # Frontend files
├── models/        # Trained models
├── data/          # Dataset
├── requirements.txt
└── GUIDE.md

Have fun !!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors