Sunday, December 17, 2023

TRYHACKME'S ADVENT OF CYBER 2023 (Day 15)

                         

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

MY EXPERIENCE ON ADVENT OF CYBER 2023

  Tryhackme’s advent of cyber 2023 was a great experience, it was very beginner friendly and they provided well setup labs with a storyline ...