Journal of Digital Technology and Computer Science
Vol. 3 No. 1 (2025): November 2025

KNN Vs Naive Bayes: An Innovative Comparison in Predictive AI Learning With Association Data Support

Devi Miftahul Jannah (Universitas Negeri Makassar, Indonesia)
Aprilianti Nirmala S (Universitas Negeri Makassar, Indonesia)



Article Info

Publish Date
05 Oct 2025

Abstract

This study analyzes how Naive Bayes and K-Nearest Neighbor (KNN) predict learning outcomes based on artificial intelligence (AI). The main focus of this study is the difficulty of algorithms in handling complex learning data and the contribution of Association Rule Mining (ARM) attribute features in improving prediction accuracy. The methods applied include two classification algorithms (KNN and Naive Bayes) in an exploratory-comparative quantitative research design, as well as the application of ARM to uncover hidden patterns among variables using the apriori algorithm. Data for 368 students with prior experience in artificial intelligence technology was collected through an online survey. Although KNN outperforms in recall, the study results show that Naive Bayes has higher precision. By detecting hidden correlation patterns that cannot be identified by conventional classification methods, ARM improves classification results. The discussion emphasizes that the selection of the best algorithm depends on the application's objectives, namely whether the priority is on classification accuracy or the range of relevant results. Based on these findings, a hybrid technique combining KNN, Naive Bayes, and ARM is highly recommended for creating a more efficient and accurate prediction system to support AI-based education.

Copyrights © 2025






Journal Info

Abbrev

DTCS

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Electrical & Electronics Engineering Engineering

Description

Digital Technology and Socio-Technical Innovation, including the design, development, implementation, and evaluation of digital solutions, platforms, applications, and infrastructures that support modern socio-technical systems, digital transformation, and technology-enabled services. Computer ...