Skip to content

A Machine Learning Processing with SMS Data to predict whether the SMS is Spam/Ham with various ML Algorithms like MultinomialNB, LogisticRegression, SVC, DecisionTreeClassifier, RandomForestClassifier, KNeighborsClassifier, AdaBoostClassifier, BaggingClassifier, ExtraTreesClassifier, GradientBoostingClassifier, XGBClassifier to compare accuracy an

License

Notifications You must be signed in to change notification settings

vasupatelll/Email_Spam_Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📌 Introduction :-

A Machine Learning Processing with SMS Data to predict whether the SMS is Spam/Ham with various ML Algorithms like MultinomialNB, LogisticRegression, SVC, DecisionTreeClassifier, RandomForestClassifier, KNeighborsClassifier, AdaBoostClassifier, BaggingClassifier, ExtraTreesClassifier, GradientBoostingClassifier, XGBClassifier to compare accuracy and using various data cleaning and processing techniques like PorterStemmer, CountVectorizer, TFIDF Vetorizer. It is implemented using MultinomialNB to gain accuracy of 97.09%.

✔❌Accuracy :-

Text Preprocessing Type GaussianNB Multinomial NB BernoulliNB
TFIDF Vectorizer + PorterStemmer 86.94% 97.09% 98.35%
CountVectorizer + PorterStemmer 88.00% 96.42% 97.00%

🏁 Datasets Used:-

  • The dataset used is SMS Spam Dataset created by UCI Machine Learning. This dataset is also available on kaggle. For instance, to download this dataset click here.

📎 Workflow :-

  • Loading Data
  • Data Cleaning
  • EDA
  • Data Preprocessing
  • Classification Model Building
  • Classification Model Testing
  • Model Results
  • Performance Evaluation

LICENSE

MIT

About

A Machine Learning Processing with SMS Data to predict whether the SMS is Spam/Ham with various ML Algorithms like MultinomialNB, LogisticRegression, SVC, DecisionTreeClassifier, RandomForestClassifier, KNeighborsClassifier, AdaBoostClassifier, BaggingClassifier, ExtraTreesClassifier, GradientBoostingClassifier, XGBClassifier to compare accuracy an

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published