Skip to content

satvik091/Message-Spam-Classification-

Repository files navigation

Spam Message Classifier

A simple Streamlit app to classify messages as spam or ham using a Naive Bayes model.

Getting Started

Prerequisites

  • Python 3.x
  • All required Python packages are listed in requirements.txt.

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/spam-message-classifier.git
    cd spam-message-classifier
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the Streamlit app:

    streamlit run app.py
  4. Usage:

    • Enter a message in the input box to see if it’s classified as spam or ham.

Files

  • app.py: The Streamlit app to classify messages.
  • vectorizer.pkl and spam_classifier.pkl: Saved vectorizer and model files (generated by train_and_save_model.py).

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages