Detecting Email threats using AI (Student Notes)

This session explains how to use different machine-learning algorithms to detect spam and phishing emails. Students will learn how email security solutions can benefit from using ML and how to design such a solution.

In-class practices:

A. You have to follow the steps of the code for email threat detection. Read the descriptions and instructions.
You have to write the code using the hints given in the notebook, and learn why and how to create a spam email detection model. Finally, it will be made sure that all the students get the same result and understand that part.

The aim of this practice is how to develop a simple machine-learning code to detect phishing/spam emails. In the previous session, you have learned how you (as a users) could detect phishing by spotting phishing signs (e.g., fake sender email’s domain name), and now you will learn how AI can do that for us. The same signs can be used as the machine learning model’s features.

Span email detection: Link

Dataset: