Skip to content

Building spam classifier using different algorithms and choosing the best one to build a streamlit application

Notifications You must be signed in to change notification settings

Mehrab-Kalantari/SMS-Spam-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMS Spam Classifier

Dataset on kaggle

Contents

Data cleaning

  • Drop null columns
  • Drop duplicates
  • Label encoding
  • Drop NaN values

Data understanding and EDA

  • Pie chart
  • Bar chart
  • Histogram
  • Pair plot
  • Correlation matrix

Data preprocessing

  • To lower case
  • Tokenization
  • Removing special characters
  • Removing stopwords and punctuation
  • Stemming

Modeling

  • Single classifiers
  • Voting classifier

Evaluation

Here we choose the best model from the following measures

  • Accuracy
  • Precision
  • F1 score

models

Deployment

Deploy our model on streamlit


Sample

s

About

Building spam classifier using different algorithms and choosing the best one to build a streamlit application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published