Code Monkey home page Code Monkey logo

-detecting-spam-sms-guardian-'s Introduction

SMS Guardian πŸ“¬βœ‰οΈπŸ€–

Overview

Detecting Spam and Ham in SMS messages using state-of-the-art Natural Language Processing (NLP) techniques. This project employs machine learning models to sift through messages and identify potential spam, ensuring your SMS inbox remains secure.

Problem Statement

With the rise of spam messages, it becomes crucial to have a reliable system that can differentiate between genuine messages (ham) and unwanted spam. This project addresses this challenge by building a robust SMS classifier.

Project Workflow

1. Data Exploration and Feature Engineering

  • Dataset: Explored a dataset containing 5,574 messages in English, classifying them as ham or spam.
  • Feature Engineering: Created new features, identified outliers, and preprocessed data for effective modeling.

2. Text Data Cleaning

  • Punctuation and Numbers Removal: Extracted alphabetic characters for cleaner text.
  • Lowercasing: Ensured uniformity by converting all characters to lowercase.

3. Text Processing and Vectorization

  • Tokenization: Broke down text into words for better analysis.
  • Stopword Removal: Eliminated common and less informative words.
  • Lemmatization: Simplified words to their base form.
  • TF-IDF Vectorization: Converted processed text into numerical vectors.

4. Model Building

  • Model Pipeline: Developed a comprehensive pipeline with NaΓ―ve Bayes, RandomForest, KNeighbors, and Support Vector Machines.
  • Cross-Validation: Ensured model reliability through cross-validation on the training set, assessing accuracy and overall performance.

5. Project Title and Theme

The project name "SMS Guardian" with emojis to visually communicate its purpose and theme. πŸ“¬βœ‰οΈπŸ€–

Usage

  1. Clone the repository: git clone https://github.com/Sooraj-dsa/SMS-Guardian.git
  2. Navigate to the project directory: cd SMS-Guardian
  3. Install dependencies: pip install -r requirements.txt
  4. Run the Jupyter Notebook or Python script for the complete project.

Full Analysis

Check out the full analysis notebook on Kaggle!

Contributions

Contributions are welcome! Feel free to submit issues, feature requests, or pull requests.

License

This project is licensed under the MIT License.

Acknowledgments

-detecting-spam-sms-guardian-'s People

Contributors

sooraj-dsa 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.