I thought of making a project that can be useful for me aswell my further future references. This is a machine learning based project. We detect spam messages in our e-mail using this program. We are making use of the Natural Language Processing toolkit libraries. At first, we are importing all libraries and visualing the given dataset. Then we are processing the dataset and have downloaded the 'stopwords' package and then cleaning the data. Then we convert the text into a matrix and split the dataset into training and testing set. Then we create a Naive Bayes classifier and make predictions on our model. At the end we predict the accuracy of the training set and testing set of the model.

Built With

Share this project:

Updates