IDEAS home Printed from https://ideas.repec.org/a/bjf/ijltem/v14y2025i11a683.html

Phishing Emails: Analysis and Detection with Comparison of Three Machine Learning Models (LR, NB and MLP)

Author

Listed:
  • Theophilus Bamise Ajala

    (Department of Computer Science, Caleb University, Imota, Lagos, Nigeria)

Abstract

Phishing attacks are performed by writing and forwarding falsified body of email messages which look legitimate or real from an undisputed origin to a victim or different category of victims. They focus at acquiring the sensitive data of users or by transferring and loading malware on the user's computers. Consequently, this study aims to implement an AI-driven approach to detect emails that seems to be phishing while the features are analyzed. This project leverage three machine learning models namely: MLP, a deep learning algorithm, Naïve Bayes and Logistic Regression. The following performance metrics were obtained -> for Multilayer Perceptron (MLP) model: accuracy: 98.57%, precision: 100.00%, recall: 90.00% while the f1_score metrics was 94.74%. For Naïve Bayes (NB) model: accuracy: 96.95%, precision: 100.00%, recall: 78.75% while the f1_score metrics was 88.11%. For Logistic Regression (LR) model: accuracy: 94.71%, precision: 99.03%, recall: 63.75% while the f1_score metrics was 77.57%. The result shows that MLP Classifier may better capture complex patterns in phishing emails, leading to higher detection rates. Naive Bayes is still a strong choice, especially for simpler or smaller datasets due to its speed and efficiency. Logistic Regression is reliable but slightly less accurate on this particular task. For this project, a phishing email dataset from the Kaggle Machine Learning Repository was utilized. This dataset contains 5000+ instances of phishing and ham emails.

Suggested Citation

  • Theophilus Bamise Ajala, 2025. "Phishing Emails: Analysis and Detection with Comparison of Three Machine Learning Models (LR, NB and MLP)," International Journal of Latest Technology in Engineering, Management & Applied Science, RSIS International, vol. 14(11), pages 497-506, December.
  • Handle: RePEc:bjf:ijltem:v:14:y:2025:i:11:a:683
    DOI: 10.51583/IJLTEMAS.2025.1411000044
    as

    Download full text from publisher

    File URL: https://www.ijltemas.in/submission/online/article/view/3588/4467
    Download Restriction: no

    File URL: https://www.ijltemas.in/submission/online/article/view/3588
    Download Restriction: no

    File URL: https://libkey.io/10.51583/IJLTEMAS.2025.1411000044?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bjf:ijltem:v:14:y:2025:i:11:a:683. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dr. Pawan Verma (email available below). General contact details of provider: https://www.ijltemas.in/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.