Skip to content

Jaybro-git/Spam-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“§ Email Spam Detection with Machine Learning

A Machine Learning project that detects whether a text message or email is Spam or Ham. This project includes a model training script and a user-friendly Graphical User Interface (GUI) built with Tkinter.

πŸš€ Features

  • Machine Learning: Uses Logistic Regression to classify text with ~96% accuracy.
  • Text Processing: Implements TF-IDF (Term Frequency-Inverse Document Frequency) to convert text into numerical features.
  • GUI Application: A clean desktop interface to test custom messages instantly.
  • Reproducibility: Scripts to train the model from scratch and save it for inference.

πŸ› οΈ Tech Stack

  • Language: Python 3.x
  • Libraries: Scikit-Learn, Pandas, NumPy, Pickle
  • GUI: Tkinter (Standard Python Interface)

πŸ“‚ Project Structure

SPAMCLASSIFIER/
β”œβ”€β”€ .venv/                   # Virtual environment (ignored in git)
β”œβ”€β”€ app.py                   # GUI Application for testing
β”œβ”€β”€ main.py                  # Script to train and evaluate the model
β”œβ”€β”€ spam.csv                 # Dataset file
β”œβ”€β”€ README.md                # Project documentation
└── .gitignore               # Files to ignore (pkl, venv, etc.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages