Git Product home page Git Product logo

spamnlp's Introduction

Spam Mail Detection:

Table of Content

Demo

Link: https://spamnlpdemo.herokuapp.com/

Overview

This is an simple NLP project in which the model is able to predict the incoming mail whether it is spam or not spam(ham). As we seen in gmail automatically the mail is classified and stored in spam or inbox so this project is prototype.

Motivation

As a Data Science enthusiast I am utilizing the lockdown period with implementing various machine learning and deep learning projects and try to do end to end projects,also writing blogs on my data science projects on medium (Link: https://medium.com/analytics-vidhya/implementing-lstm-for-stock-price-prediction-time-series-4c0c65bb493d/)

Technical Aspect

This project is divided into two part:

  1. Training a machine learning model.
  2. Building and hosting a Flask web app on Heroku.
  3. Used WordLammitizer and Stopwords.
  4. We can also perform Hyperparammeter tunning but using NaiveBayes the accuracy is all other parameter are having high rate

Installation

The Code is written in Python 3.7. If you don't have Python installed you can find it here. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:

pip install -r requirements.txt
├── static
│   ├── style.css
├── templates
│   ├── home.html
|   ├── result.html
├── requirements.txt
├── Procfile
├── README.md
├── SMSSpamCollection.csv
├── app.py
├── nlp model.pkl
├── nlts.txt
├── transform.pkl
├── SpamClassifier.ipynb

Technologies Used

Team

Mayank Yogi

Credits

spamnlp's People

Contributors

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