build a spam classifier program in python which can tell whether a given message is spam or not.to build a spam classifier we use libraries like, pandas,matplotlib,seaborn,numpy,sklearn and NLTK these libraries helps to data cleaning,data preprocessing and model building.
Simple steps to build a spam classifier
- Import the required packages
- Loading the Dataset
- Remove the unwanted data columns
- Preprocessing and Exploring the Dataset
- Build word cloud to see which message is spam and which is not.
- Remove the stop words and punctuations
- Convert the text data into vectors
- Model building
- evaluation