A machine learning-based web application for detecting spam SMS messages using multiple classification models with ensemble predictions.
- Multi-model ensemble: Naive Bayes, SVM, Random Forest, XGBoost
- Real-time spam/ham classification
- Responsive web interface
Follow these steps to set up the project on your local machine.
- Python 3.8+
- pip
- Clone the repository:
git clone <repository-url> cd SMS-Spam-Detection-Project
- Create and activate a virtual environment:
python -m venv venv venv\Scripts\activate # On Windows
- Install dependencies:
pip install -r requirements.txt
cd backend
python train_models.pycd backend
python app.pyAccess the app at http://localhost:5000.
SMS-Spam-Detection-Project/
├── backend/ # Flask backend
├── frontend/ # Frontend files
├── models/ # Trained models
├── data/ # Dataset
├── requirements.txt
└── GUIDE.md
Have fun !!