Skip to content

nithinnarla/spam-classifier

Repository files navigation

📧 Email Spam Classifier

A beginner-friendly machine learning project that classifies text messages as spam or not spam using a Naive Bayes classifier.

🚀 Project Highlights

  • 99.2% accuracy on test data
  • Trained on the SMS Spam Collection Dataset
  • Used CountVectorizer to convert text to numeric features
  • Trained using Multinomial Naive Bayes (a classic for spam detection)
  • Evaluated with precision, recall, F1-score, and confusion matrix

🔧 Tech Stack

  • Python 3.x
  • Pandas
  • Scikit-learn
  • Matplotlib
  • Seaborn

📦 Setup Instructions

  1. Clone the repo
    git clone https://github.com/ogetynarendra/spam-classifier.git
    cd spam-classifier

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published