A project for classifying whether the email/text received is Spam or Ham. I have used here Naive Bays classifier for training the model and deployed using Flask. You can have a look of the working project from the link below.
https://flask-email-classifier.herokuapp.com/
- Python
- ML (used Naive Bays classifier)
- Flask
- HTML, CSS, JS
In this project I learnt and worked on important steps like:
πΈ π¬π«π¨ (π¬ππππππππππ π πππ ππππππππ) πΈ π«πππ π·ππππππππππππ - Text Cleaning Procedures β¬ converting all words in document to lower case β¬ Tokenizing β¬ Removing stop words β¬ Word stemming β¬ Word lemmatization β¬ Removing punctuations β¬ Stripping out HTML tags ππππ library was there to think out of the box! πΈ πππππππ π¬πππππππππ - CountVectorizer Method - Full Matrix Creation - Vocabulary Creation πΈ π¨ππππππππ π°πππππππππππππ - CountVectorizer + NaΓ―ve Bayes Algorithm πΈ πΊππππππ & π΄ππππππ : - Accuracy - Precision - Recall