A simple Machine Learning-based Spam Email Classifier built using Python, Flask, and Scikit-learn.
It predicts whether an email or message is Spam or Not Spam (Ham) using natural language processing techniques.
- 🧹 Text preprocessing and cleaning
- 🔤 TF-IDF Vectorization for feature extraction
- 🤖 Trained using Naive Bayes and Logistic Regression models
- 🌐 Flask web app interface for predictions
- 💾 Models saved using
joblibfor fast loading
- Python 3.x
- Flask
- Scikit-learn
- Pandas, NumPy
- HTML, CSS
# Clone this repository
git clone https://github.com/<your-username>/spam-email-classifier.git
# Navigate to the project folder
cd spam-email-classifier
# Install dependencies
pip install -r requirements.txt
# Run the Flask app
python app.py