Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Spam Email Classifier (S mall AI Project)

The system is trained on a labeled dataset containing both spam and non-spam messages. It analyzes the text content, learns common patterns used in spam messages, and then predicts whether a new message is spam or not.

This project focuses on the core concepts of Natural Language Processing (NLP) and supervised learning rather than complex models.

How it Works

1.The input text is cleaned and converted into numerical form using text vectorization. 2.A machine learning algorithm is trained on the processed data. 3.When a new message is entered, the trained model predicts its category based on learned patterns.

Technologies Used

  • Python
  • pandas
  • scikit-learn

How to Run

  1. Install dependencies: pip install -r requirements.txt
  2. Run the program: python model.py

Example

Enter a message: Win a free prize now

Prediction: SPAM

About

This is small project which classifies messages as SPAM or NOT SPAM using Machine Learning.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages