This lab assignment requires students to implement a Naive Bayes spam filter using a dataset of emails from Kaggle, and to plot and analyze the resulting confusion matrix to understand the model's performance at classifying emails as spam or ham.
This lab assignment requires students to implement a Naive Bayes spam filter using a dataset of emails from Kaggle, and to plot and analyze the resulting confusion matrix to understand the model's performance at classifying emails as spam or ham.
This lab assignment requires students to implement a Naive Bayes spam filter using a dataset of emails from Kaggle, and to plot and analyze the resulting confusion matrix to understand the model's performance at classifying emails as spam or ham.
https://www.kaggle.com/venky73/spam-mails-dataset (You need to register in Kaggle to download the data), implement a Naive Bayes-based spam-ham (ham: is non-spam email) filter.
2. Plot the confusion matrix, analyze the results, and justify the reasoning behind these results.