Giter Site home page Giter Site logo

python--micro-project-'s Introduction

Spam Email Detecton


This is a mini Python project created by Vishakha Singh and Vidushi Jain.

This project aims to create a simple web application for detecting spam emails using a Naive Bayes classifier. The application is built using Streamlit, a Python library for building interactive web applications.

How it Works:

  1. Data: The application uses a predefined dataset consisting of example emails labeled as spam (1) or not spam (0).

  2. Model Training: The dataset is used to train a Naive Bayes classifier. The text data is first transformed into numerical features using CountVectorizer, which converts the text into a matrix of token counts. Then, a Multinomial Naive Bayes model is trained on these features.

  3. Prediction: Users can paste an email into a text area provided by the application. Upon clicking the "Predict" button, the model predicts whether the input email is spam or not.

  4. UI: The web application interface is designed using Streamlit. It includes a text input area for the user to input the email and a button to trigger the prediction. The prediction result (spam or not spam) is displayed to the user.

Project Description:

This project demonstrates the implementation of a basic email spam detection system using machine learning techniques. It provides a user-friendly interface for users to quickly check whether an email they receive is likely to be spam. The application can be further enhanced by integrating more sophisticated models, improving the user interface, and deploying it on a web server for wider accessibility.

Our details are:

Batch : D2
Roll No.:
Vishakha Singh: 21EJCCS838
Vidushi Jain: 21EJCCS835

python--micro-project-'s People

Contributors

vidushi27jain 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.