chaitanyakb181005/spam_classifier
0
Spam Classifier
A machine learning-powered spam classification application that identifies whether text is spam or not spam.
Features
- ๐ฏ Real-time spam detection
- ๐ User-friendly web interface
- ๐ REST API endpoint for programmatic access
- ๐ณ Docker-based deployment
- ๐ Confidence scores for predictions
Model
The classifier uses:
- TF-IDF Vectorization for text feature extraction
- Logistic Regression for classification
- Trained on a comprehensive spam dataset
Usage
Web Interface
Simply enter your text in the input field and click "Classify Text" to get instant results.
API Endpoint
curl -X POST https://huggingface.co/spaces/chaitanyakb181005/spam_classifier/api/predict \
-H "Content-Type: application/json" \
-d '{"text": "Your text here"}'Technology Stack
- Flask (Web Framework)
- scikit-learn (Machine Learning)
- Docker (Deployment)
- Gunicorn (Production Server)
