This repository demonstrates email spam classification using Natural Language Processing (NLP). It employs CountVectorizer, Multinomial Naive Bayes, and a Pipeline for efficient workflows.
- Preprocess email text with
CountVectorizer. - Train and evaluate a
Multinomial Naive Bayesmodel. - Use a
Pipelinefor streamlined operations. - Evaluate the model using precision, recall, and F1-score.
The following Python libraries are required to run the notebook:
pandasnumpyscikit-learn
git clone https://github.com/umair801/Spam_Email_Classifier.git