The SMS Spam Detection application is a machine learning tool designed to classify SMS messages as either spam or not spam. It utilizes a pre-trained model to analyze messages and identify potentially harmful content. Developed using the Flask web framework, the application features an interactive interface for real-time message classification.
Dataset: SMS Spam Collection Dataset
- Backend: Flask (Python)
- Frontend: HTML5, CSS3, TailwindCSS, JavaScript
- Containerization: Docker, Docker Compose
- Machine Learning: Scikit-learn, XGBoost, NLTK, Seaborn, Matplotlib, Pandas, NumPy
Ensure the following are installed on your local machine:
- Python 3.8+
- Docker and Docker Compose (optional for containerized deployment)
git clone git@github.com:abdullahashfaq-ds/SMS-Spam-Detection.git
cd SMS-Spam-Detectionpython -m venv venv
# On Windows, use:
venv\Scripts\activate
# On Linux/MacOS, use:
source venv/bin/activate
# To set up the production environment:
pip install -r requirements.txt
# To set up the development environment:
pip install -r requirements.dev.txt
# To run the project:
python app.pyFor a containerized environment, build and run the container:
docker build -t spam-detection .
docker run -p 5000:5000 spam-detection Access the application at http://localhost:5000
This project is licensed under the MIT License. See the LICENSE file for more details.
For inquiries or support, please open an issue on GitHub or contact abdullahashfaq.ds@gmail.com.
