Giter Club home page Giter Club logo

ksdkamesh99 / spam-classifier Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 9.0 522 KB

A Natural Language Processing with SMS Data to predict whether the SMS is Spam/Ham with various ML Algorithms like multinomial-naive-bayes,logistic regression,svm,decision trees to compare accuracy and using various data cleaning and processing techniques like PorterStemmer,CountVectorizer,TFIDF Vetorizer,WordnetLemmatizer. It is implemented using LSTM and Word Embeddings to gain accuracy of 97.84%.

License: MIT License

Jupyter Notebook 100.00%
sms-spam-detection tfidf-vectorizer count-vectorizer bag-of-words naive-bayes-classifier multinomial-naive-bayes logistic-regression wordnetlemmatizer porter-stemmer decision-tree-classifier

spam-classifier's Introduction

Spam-Classifier

forthebadge forthebadgeforthebadge forthebadge

Logo

📌 Introduction:-

A Natural Language Processing with SMS Data to predict whether the SMS is Spam/Ham with various ML Algorithms like multinomial-naive-bayes,logistic regression,svm,decision trees to compare accuracy and using various data cleaning and processing techniques like PorterStemmer,CountVectorizer,TFIDF Vetorizer,WordnetLemmatizer. It is implemented using LSTM and Word Embeddings to gain accuracy of 97.84%.

✔❌Accuracy ❌✔:-

Text Preprocessing Type Logistic Regression Multinomial NB Support Vector Machine Decision Tree
TFIDF Vectorizer + PorterStemmer 96.68% 97.30% 98.47% 96.68%
CountVectorizer + PorterStemmer 98.65% 98.56% 98.74% 97.84%
CountVectorizer + WordnetLemmatizer 98.56% 98.29% 98.38% 97.75%
TFIDF Vectorizer + WordnetLemmatizer 96.41% 97.48% 98.47% 96.86%

WorkFlow:-

Workflow of SMS spam Classifer

🏁 Datasets Used:-

  • The dataset used is SMS Spam Dataset created by UCI Machine Learning.This dataset is downloaded in kaggle.You can download it here.
  • Reference for this dataset can be found here

📧Contact:-

For any kind of suggesstions/ help in models code Please mail me at [email protected].

📜 LICENSE

MIT

spam-classifier's People

Contributors

ksdkamesh99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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