This project implements a simple web application for spam detection using Naive Bayes classification. It uses the Flask framework for the web interface and the scikit-learn library for the machine learning model.
- Python 3.x
- Flask
- pandas
- scikit-learn
-
Clone the repository:
git clone https://github.com/umairchanna57/Message-Spam.git cd Message-Spam
pip install -r requirements.txt
Enter a message in the provided form. Click the "Predict" button to get the spam/ham prediction.
The model is trained on the "Roman Urdu DataSet.csv" dataset, which is included in the project. It contains labeled messages with their corresponding categories.