Day 15 - "Jingle Bell SPAM: Machine Learning Saves the Day!"
The learning objectives for day 15 were:
•Different steps in a generic Machine Learning pipeline
•Machine Learning classification and training models
•How to split the dataset into training and testing data
•How to prepare the Machine Learning model
•How to evaluate the model’s effectiveness
In this task we are tasked with using a spam email detector using machine learning and we are provided with a dataset .We used jupyter notebook, first we started by importing the required libraries and the reading our dataset as a dataframe using the pandas library. Since ML models understand numbers, not text so we using CountVectorizer class from the skikit-learn library in python, then we splitted the testing and training data from the given dataset. After training our model we used the naive bayes classification to evaluate our model.
Click here to see the walkthrough
No comments:
Post a Comment