GithubHelp home page GithubHelp logo

spam_email_classification's Introduction

Spam_Email_Classification

image

image

📝 Description

This project tackles the issue of spam emails by automatically classifying incoming emails as either spam or legitimate (often referred to as "ham").

Who it's for:

Individuals: Anyone who receives a significant amount of email and wants to reduce the clutter and frustration caused by spam. Organizations: Businesses, schools, and other institutions that deal with a high volume of email can benefit from improved spam filtering to: Protect users from phishing attempts and malicious content. Increase productivity by reducing time spent sorting through spam. Reduce server load by filtering out unwanted emails. By automatically classifying emails, this project can help users save time and effort managing their inboxes, and organizations can improve security and efficiency.

⏳ Dataset

🖥️ Installation

🛠️ Requirements

  • Python 3.5+
  • Jupyter notebook/google collab

⚙️ Setup

  • install numpy

    pip install numpy as np

  • install pandas

    pip install pandas

  • install sklearn

    from sklearn.model_selection import train_test_split

    from sklearn.feature_extraction.text import TfidfVectorizer

    from sklearn.linear_model import LogisticRegression

    from sklearn.metrics

Running Tests

To run tests, run the following command

  input_mail = [""]
  input_data_features = feature_extraction.transform(input_mail)
  prediction = model.predict(input_data_features)

🎯Accuracy

  • on Training data

    0.9670181736594121

  • on testing data

    0.9659192825112107

Contributors

Mutthuluri varun kumar

zeel Shah

G SUBHAM KUMAR

K MOHAN SAI VARDHAN

🔗 Links

linkedin

spam_email_classification's People

Contributors

mutthuluri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.