Skip to content

Shivansh-thecoder/Spam-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“© Spam Message Classifier

A simple web app that detects whether a message is spam or ham (not spam) using Logistic Regression. Built with Python and Streamlit, it combines machine learning with rule-based keyword detection for accurate predictions.


🧰 Features

  • Predicts whether a message is spam or ham.
  • Uses Logistic Regression trained on a dataset of SMS messages.
  • Implements rule-based keyword checking to catch obvious spam.
  • Clean and user-friendly web interface built with Streamlit.

πŸš€ Demo

Enter any message in the text box and click PREDICT. The app will display:

  • 🚨 Spam – if the message is spam
  • βœ… Ham – if the message is not spam

Example messages:

  • "Win a free Samsung phone!!" β†’ 🚨 Spam
  • "Hey, are we meeting today?" β†’ βœ… Ham

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published