Skip to content

hamad-niaz/spam-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spam Detector Project

Detects SMS messages as Spam or Not Spam using Machine Learning (Logistic Regression / Naive Bayes) with a Flask web app.


πŸ“Š Accuracy

Accuracy Screenshot

Screenshot of model accuracy on test set


πŸ›  Technologies Used

  • Python
  • Pandas
  • scikit-learn
  • Flask
  • Joblib (for saving model)
  • HTML/CSS (templates)

πŸ“ Project Structure

spam-detector/ β”‚ β”œβ”€β”€ train.py # ML training + model save β”œβ”€β”€ app.py # Flask web app β”œβ”€β”€ model.pkl # Saved model β”œβ”€β”€ vectorizer.pkl # Saved vectorizer └── templates/ └── index.html # Front-end HTML

About

SMS Spam Detection with Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors