Skip to content

pratham-ak2004/sms-spam-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMS Spam Classification

A python jupyter notebook which will train machine learning models to detect Spam messages.The project is hosted at streamlit app on the web.

Streamlit web preview

Features

  • Data cleaning.
  • Data preprocessing.
  • Extensive data analysis.
  • Text vectorization using Bag of words , Tf-idf , Word2Vec encoding.
  • 8 classification model training using pipeline.
  • Above 95% accurate and precise.
  • Hosting using Streamlit.

Prerequisite

You need python installed in your system to run this repository.

Installation

Install the dependencies from the requirements.txt.

pip install -r requirements.txt

To host the project locally , run app.py with the help of streamlit.

streamlit run app.py

Drawbacks

The project has some drawbacks.

  • Does not have 100% accuracy and percision.
  • Model building requires lot of memory (1.5GB).
  • Longer training period.
  • Might throw exceptions.

Support