π± SMS Spam Classifier
This project is a Machine Learning-based SMS Spam Classifier that predicts whether a given text message is Spam or Not Spam. It comes with an interactive Streamlit web app that allows users to easily test messages in real time.
π Live Demo: Click here to try it out!
π Project Overview
Have you ever wondered if a message is spam or genuine? This project uses a Random Forest Classifier trained on labeled SMS data to automatically classify messages. Just type any message into the input box β the model will instantly tell you if itβs spam or ham (not spam).
π§ Tech Stack
Python π
Streamlit β for building the web UI
Scikit-learn β for model training and evaluation
Random Forest Classifier β as the ML algorithm
Pandas & NumPy β for data preprocessing and handling
βοΈ How It Works
The user enters an SMS or text message in the Streamlit app.
The message is preprocessed (cleaning, tokenizing, etc.).
The trained Random Forest model analyzes the input.
The result is displayed: β Not Spam or π« Spam.
π₯οΈ Installation & Setup
To run this project locally:
git clone https://github.com/Moin36532/SMS_Spam_Classifier.git
cd SMS_Spam_Classifier
pip install -r requirements.txt
streamlit run app.py
Then open your browser and go to: π http://localhost:8501/
πΈ Live Demo
Try it online without installation! π https://sms-spam-classifier325.streamlit.app/