Skip to content

Email Spam Classifier project, This project aims to classify emails as spam or non-spam using machine learning techniques.

Notifications You must be signed in to change notification settings

silentkiller18/Email-spam-Detection

Repository files navigation

Email Spam Detection 📧🚫

Welcome to the Email Spam Classifier project! This project aims to classify emails as spam or non-spam using machine learning techniques.

Overview ℹ️

This project contains a Streamlit web application that allows users to input a message and get a prediction on whether the message is spam or not. It uses a pre-trained machine learning model built with Python's scikit-learn library.

Features ✨

  • Input any message to classify as spam or non-spam.
  • Easy-to-use web interface powered by Streamlit.
  • Fast and efficient prediction using a pre-trained model.
  • Built with Python and popular machine learning libraries.

Installation 🛠️

  1. Clone the repository:

    git clone https://github.com/your-username/email-spam-classifier.git
    

2.Navigate to the project directory:

cd email-spam-classifier 

3.Install dependencies:

pip install -r requirements.txt

4.Run the Streamlit app:

streamlit run app.py

Access the app in your browser at http://localhost:8501.

Usage 🚀

Input your message in the text area provided. Click the "Predict" button to classify the message. The app will display whether the message is classified as spam or not. Dataset 📊 The project uses the Spambase Dataset from the UCI Machine Learning Repository.

Contributing 🤝

Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.

License 📝

This project is licensed under the MIT License.

Acknowledgements 🙏

Special thanks to the creators and maintainers of Streamlit and scikit-learn. Credits to the UCI Machine Learning Repository for providing the Spambase Dataset.

Feel free to customize it further according to your preferences!

Samples for Notspam✅-


I hope everyone is doing well. I wanted to provide an update on the XYZ project. We have completed the initial phase and are moving on to the next steps. Please find the attached report for detailed information.

Let me know if you have any questions.

Best,
[Your Name]
Hi Everyone,

I hope this email finds you well. I'm excited to announce that we are planning a family reunion next month. It will be held at Grandma's house on July 15th. Please let me know if you can make it and if you need any help with travel arrangements.

Looking forward to seeing you all!

Love,
[Your Name]

Samples for Spam ❌-

Dear Winner,

We are pleased to inform you that you have won $1,000,000 in our online lottery draw. To claim your prize, please provide your personal details and bank account information.

Reply to this email with your full name, address, and phone number.

Congratulations once again!

Best Regards,
Lottery Commission
Hello,

Do you want to earn $500 daily from the comfort of your home? Join our program today and start making money instantly. No experience needed!

Sign up here: [malicious link]

Best regards,
Easy Money Program

ScreenShots📷

image

`💡created by Adarsh Raj❤️`

About

Email Spam Classifier project, This project aims to classify emails as spam or non-spam using machine learning techniques.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages