📅 21 May 2025
DOI: 10.51903/776j7727

KNN-Based Handwritten Digit Classification with Accuracy Analysis and Visualization

JUISI : Jurnal Ilmiah Sistem Informasi
Universitas Sains dan Teknologi Komputer

📄 Abstract

The rapid advancement of information technology has had a significant impact in various fields, particularly in pattern recognition and image processing. One of the ongoing challenges is accurately recognizing handwritten digits, which plays a crucial role in document digitization, automated form reading, and other intelligent systems. This study aims to implement and evaluate the K-Nearest Neighbors (KNN) algorithm, a simple yet effective classification technique, in recognizing handwritten digit images. The data used comes from the public dataset load_digits from Scikit-learn, which contains 1,797 grayscale images of handwritten digits sized 8x8 pixels. Each image is represented as a 64-dimensional feature vector. The dataset is split into training and testing data with an 80:20 ratio, and the model is trained using KNN with k=3. The experimental results show a classification accuracy of 96.94%, with minimal prediction errors that typically occur in digits with similar visual shapes, such as 5 and 9. This study demonstrates that KNN, despite its simplicity, can provide high accuracy in handwritten digit recognition when supported by proper preprocessing and parameter selection. The implications of this research highlight the potential for developing intelligent applications in education, data entry automation, and identity verification.

🔖 Keywords

#Handwritten Digit Recognition; K-Nearest Neighbors; Digital Image Processing; Machine Learning #Classification

â„šī¸ Informasi Publikasi

Tanggal Publikasi
21 May 2025
Volume / Nomor / Tahun
Volume 4, Nomor 2, Tahun 2025

📝 HOW TO CITE

Maulana, Muhammad Rizky; Maulana, Muhammad Rizky ; Nugroho, Adiv Prasetyo ; Adinata, Ferdyan Candra; Haidar, Nova Briyan; Setiawan, Arif, "KNN-Based Handwritten Digit Classification with Accuracy Analysis and Visualization," JUISI : Jurnal Ilmiah Sistem Informasi, vol. 4, no. 2, May. 2025.

ACM
ACS
APA
ABNT
Chicago
Harvard
IEEE
MLA
Turabian
Vancouver

📚 References & Citations

Artikel ini telah dikutip oleh 1 publikasi lainnya.

🔗 Artikel Terkait dari Jurnal yang Sama

Literature Review: Analysis of Chatbot Trends in Government Administration

Candrawati, Zerlina Anggun ; Mahaputra, Axel Arwanov Firdaus; Rachma, Sarah Amelia; Candrawati, Zerlina Anggun; Mahaputra, Axel Arwanov Firdaus; Rachma, Sarah Amelia

29 Jan 2026

Analisis Pemanfaatan Canva Pada PAUD Sekolah Alam Jabalussalam Menggunakan Technology Acceptance Model

Asia, Nur; Joceline, Vanesa Angelica; Servanda, Yustian ; Indris, Nasruddin Bin ; Asia, Nur; Joceline, Vanesa Angelica ; Servanda, Yustian ; Indris, Nasruddin Bin

29 Jan 2026

Desain Sistem Informasi Deteksi Dini Penyakit Tidak Menular (Obesitas) Berbasis Web Di Departemen Kesehatan Banyuwangi

Junaida, Junaida; Zehro, Lailatuz ; Hasanah, Sinta Hanifa Uswatun ; Hamdani, A. ; Junaida, Junaida; Zehro, Lailatuz ; Hasanah, Sinta Hanifa Uswatun ; Hamdani, A.

29 Jan 2026

YOLOv8-Based Waste Classification System with Ultrasonic Trigger for Power Efficiency

Nuraini, Yusna Salma ; Al Zahra, Nabila; Ilham, Muhammad Faris ; Kuswandi, Irwan; Bahri, Saeful; Koeswara, Tya Septiani Nurfauziah; Nur'aini, Yusna Salma ; Al Zahra, Nabila; Ilham, Muhammad Faris ; Kuswandi, Irwan; Bahri, Saeful; Koeswara, Tya Septiani Nurfauziah

29 Jan 2026

Sistem Pendukung Keputusan Penentuan Prestasi Belajar Siswa SMP Menggunakan Metode SAW di Kabupaten Serang

Jahiri, Muhamad ; Julyardi, Ferdian Dwiki ; Khaerunnisa, Tiara Fadhilah ; Olivia, Dina ; Andy, Louis Calfredy Lie ; Maulana, Intan Yunia Maulana; Mutiarani, Khaishya Davina ; Huda, Miftahul ; Majid, M Deny Aditya; Al Araf, Restu Azwar ; Jahiri, Muhamad ; Julyardi, Ferdian Dwiki ; Khaerunnisa, Tiara Fadhilah ; Olivia, Dina ; Andy, Louis Calfredy Lie ; Maulana, Intan Yunia ; Mutiarani, Khaishya Davina ; Huda, Miftahul ; Majid, M Deny Aditya ; Al Araf, Restu Azwar

28 Jan 2026

Penerapan Cloud Computing dalam Akuntansi Syariah: Tinjauan Literatur Sistematis

Azzahra, Najwa Savira; Khasanah, Uswatun; Aji, Gunawan; Azzahra, Najwa Savira ; Khasanah, Uswatun Khasanah; Aji, Gunawan

28 Jan 2026

📊 Statistik Sitasi Jurnal