Skip to content

A machine learning project for detecting spam messages using Python. This notebook demonstrates end-to-end text classification with preprocessing, feature extraction using TF-IDF, and model training using scikit-learn. Ideal for learning spam detection with real-world SMS data.

Notifications You must be signed in to change notification settings

Catherinesjkim/spam-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spam-detector

A machine learning project for detecting spam messages using Python. This notebook demonstrates end-to-end text classification with preprocessing, feature extraction using TF-IDF, and model training using scikit-learn. Ideal for learning spam detection with real-world SMS data (from UCI).

Features:

  • Dataset loading and inspection

  • Text preprocessing and label encoding

  • TF-IDF vectorization

  • Model training and evaluation (Logistic Regression / Naive Bayes)

  • Performance metrics (accuracy, precision, recall, F1)

Tech Stack:

  • Python, Pandas, Scikit-learn, Seaborn, Matplotlib

About

A machine learning project for detecting spam messages using Python. This notebook demonstrates end-to-end text classification with preprocessing, feature extraction using TF-IDF, and model training using scikit-learn. Ideal for learning spam detection with real-world SMS data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published