Clustering of Students Based on Learning Interest in Coding and Artificial Intelligence Subjects using the K-Means Algorithm

Authors

  • Natalya Tarigan STMIK Kaputama

DOI:

https://doi.org/10.59934/jaiea.v6i1.2999

Keywords:

Clustering; Coding and Artificial Intelligence; Data Mining; K-Means; Learning Interest

Abstract

The coding and artificial intelligence subject has become part of the school curriculum as an effort to prepare students for the development of digital technology. In practice, the learning interest of students in the subject is not at the same level, while the assessment of that interest is still based on teacher observation, so it has not been measurable and objective. This study applies a data mining approach through the k-means clustering algorithm to group students based on their learning interest in coding and artificial intelligence at SMP Negeri 1 Kuala. The data used are 508 report card records of grade IX students with four variables, namely Informatics (X), Mathematics (Y), Natural Science (Z), and Social Science (W), which are transformed into four interest levels and processed using MATLAB R2014a. The grouping is tested with three configurations, namely 3, 6, and 9 clusters, and the cluster quality is evaluated based on the cluster variance value. The results show that the configuration of 6 clusters produces the lowest cluster variance of 0.490 compared to 3 clusters (0.512) and 9 clusters (2.196), so that 6 clusters is the most optimal and representative configuration. The Informatics score is the most dominant variable in shaping the grouping pattern. These findings can be used by the school as a basis for determining learning strategies according to the characteristics of the students.

Downloads

Download data is not yet available.

References

W. I. Permatasari and V. Tundjungsari, "Implementasi algoritma K-Means untuk mengetahui minat siswa SMA terhadap mata pelajaran teknologi informasi dan komunikasi," MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 1, pp. 168-174, 2024, doi: 10.57152/malcom.v5i1.1639.

M. Tiana, T. Siswanto, and I. Kanedi, "Penerapan metode K-Means clustering dalam mengetahui minat siswa terhadap mata pelajaran matematika di SMP Negeri 19 Kota Bengkulu," Jurnal Media Infotama, vol. 20, no. 2, 2024.

F. Yustiadi, S. Mujianto, and E. Yayuk, "Persepsi siswa terhadap implementasi mata pelajaran koding dan kecerdasan artifisial (KKA) di SMKS Muhammadiyah 4 Glenmore," Universitas Muhammadiyah Malang, 2025.

Awaluddin and Muhamad, "Integrasi pembelajaran coding dan kecerdasan buatan di sekolah dasar: tantangan dan peluang," 2025.

Tundo, S. Raihanah, T. Wahyudi, and Sugiyono, "K-Means clustering of social studies performance at junior high school," IJID: International Journal on Informatics for Development, vol. 13, no. 2, pp. 460-472, 2024, doi: 10.14421/ijid.2024.4632.

R. Buaton, M. Zarlis, and V. Yasin, "Konsep data mining dalam implementasi (The concept of data mining in implementation)," 2021.

Saini, "Data mining architecture: data mining types and techniques," vol. 8, 2021.

M. Iqbal and M. Nurul Huda, "Implementasi algoritma K-Means clustering dengan jarak euclidean dalam mengelompokkan daerah penyebaran COVID-19 di Kabupaten Bogor," vol. 2, no. 1, pp. 47-56, 2023.

R. A. Ananda, Y. Maulita, and H. Khair, "Clustering menggunakan algoritma K-Means untuk mengelompokan data perjudian berdasarkan wilayah di Kota Binjai," Switch: Jurnal Sains dan Teknologi Informasi, vol. 2, no. 5, pp. 167-180, 2024, doi: 10.62951/switch.v2i5.226.

A. Nabil Fauzan, F. Anwar Wandi, A. Zuhair Nur Aiman, and M. Wati, "Pengelompokan minat akademik siswa SMA Negeri 1 Loa Janan menggunakan metode clustering K-Means," JURTI, vol. 9, no. 2, 2025.

M. Nishom, "Perbandingan akurasi euclidean distance, minkowski distance, dan manhattan distance pada algoritma K-Means clustering berbasis chi-square," Jurnal Informatika: Jurnal Pengembangan IT, vol. 4, no. 1, pp. 20-24, 2021, doi: 10.30591/jpit.v4i1.1253.

D. M. Dhani, R. Buaton, and I. G. Prahmana, "Penerapan metode K-Means clustering untuk menentukan kepuasan mahasiswa terhadap fasilitas sarana dan prasarana kampus di STMIK Kaputama Binjai," Bridge: Jurnal Publikasi Sistem Informasi dan Telekomunikasi, vol. 2, no. 3, pp. 229-243, 2024, doi: 10.62951/bridge.v2i3.170.

M. Milla, V. A. K. Dima, and A. P. Setiawi, "Penerapan algoritma K-Means untuk mengidentifikasi minat belajar siswa di Sekolah Dasar Negeri Puu Naga," Modem: Jurnal Informatika dan Sains Teknologi, vol. 3, no. 4, pp. 1-12, 2025, doi: 10.62951/modem.v3i4.630.

Y. Simbolon, A. Giovani, and S. P. Sipayung, "Analisis pengelompokan minat belajar mahasiswa menggunakan algoritma K-Means," Jurnal Ilmu Komputer dan Informatika, vol. 2, no. 3, 2026.

Wilda, "Integrasi mata pelajaran coding dan kecerdasan buatan (AI) dalam kurikulum sekolah dasar sebagai upaya meningkatkan keterampilan abad ke-21," Journal of Community Dedication, 2025.

A. R. Cahdriyana and R. Richardo, "Computational thinking in teacher education," in Emerging Research, Practice, and Policy on Computational Thinking, Springer International Publishing, 2020, pp. 205-220, doi: 10.1007/978-3-319-52691-1_13.

T. Febrianti and E. Harahap, "Penggunaan aplikasi MATLAB dalam pembelajaran program linear," Jurnal Matematika, vol. 20, no. 1, 2021.

Downloads

Published

2026-10-15

How to Cite

Tarigan, N. (2026). Clustering of Students Based on Learning Interest in Coding and Artificial Intelligence Subjects using the K-Means Algorithm. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 1452–1457. https://doi.org/10.59934/jaiea.v6i1.2999