Jurnal Pengabdian Masyarakat dan Riset Pendidikan
Vol. 4 No. 3 (2026): Jurnal Pengabdian Masyarakat dan Riset Pendidikan Volume 4 Nomor 3 (Januari 202

Analisa Komparasi Kinerja Algoritma K-Nearest Neighbor (K-NN) dan Decision Tree dalam Klasifikasi Situs Web Phising: Penelitian

Prasetyo, Fajar Dwi (Unknown)
Maulana, Muhammad (Unknown)
Ramadhan, Faris (Unknown)
Setiabudi, Ananda Lutfi (Unknown)
Budiawan, Imam (Unknown)
Desmulyati, Desmulyati (Unknown)



Article Info

Publish Date
30 Dec 2025

Abstract

Phishing attacks represent a significant cybersecurity threat aimed at stealing sensitive user information through psychological manipulation using fake websites. Conventional detection methods relying on blacklists are considered ineffective in recognizing zero-day attacks or newly published phishing sites. This study aims to develop an automated detection model using a Machine Learning approach by comparing the performance of two Supervised Learning algorithms: K-Nearest Neighbor (K-NN) and Decision Tree. The dataset used is sourced from the UCI Machine Learning Repository, consisting of 11,055 records with 30 URL characteristic features. Performance evaluation was conducted using Accuracy metrics and Confusion Matrix analysis. Experimental results indicate that the Decision Tree algorithm significantly outperforms K-NN with an accuracy of 95.21%, while K-NN achieved an accuracy of only 60.11%. Furthermore, Decision Tree demonstrated a very low False Negative rate, making it a more recommended model for real-time cybersecurity system implementation.

Copyrights © 2026






Journal Info

Abbrev

jerkin

Publisher

Subject

Humanities Education Languange, Linguistic, Communication & Media Mathematics Other

Description

Jurnal Pengabdian Masyarakat dan Riset Pendidikan is a journal on Faculty of Education. Jurnal JERKIN: Jurnal Pengabdian Masyarakat dan Riset Pendidikan is under the auspices of the Faculty of Education, Universitas Pahlawan Tuanku Tambusai. The journal is registered with E-ISSN: 2961-9890. Jurnal ...