Classifying MOOC Students Using k-Nearest Neighbors and Decision Trees for Early Detection of At-Risk Learners

Authors

  • Sazilah Salam Universiti Teknikal Malaysia Melaka
  • Mohd Hafizan Musa Universiti Teknikal Malaysia Melaka
  • Dr. Mohd Adili Universiti Teknikal Malaysia Melaka
  • Asniyani Nur Haidar Abdullah Universiti Teknikal Malaysia Melaka
  • Dr. Azizul Kolej Komuniti Segamat
  • Uning Lestari Universitas Akprind Yogyakarta

DOI:

https://doi.org/10.63547/jiite.v3i1.141
Abstract View: 0,

Keywords:

At-Risk Student, MOOC, Machine Learning, Classification, Decision Tree, K-Nearest Neighbor

Abstract

Massive Open Online Courses (MOOCs) have expanded access to education, but they consistently face issues with a high dropout rate. At-risk students need to be identified early so that they can be promptly intervened upon and achieve better academic results. This study investigates the use of supervised machine learning, specifically Decision Trees (DT) and k-Nearest Neighbors (kNN), to classify MOOC students from Institution A based on behavioural and engagement indicators. The predictive features include the number of comments posted in discussion forums, the number of kudos received from other learners, overall course progress, and time spent on learning pages. These variables represent both social interaction and individual engagement dimensions of learning behaviour. A 552 dataset of MOOC participants was pre-processed and analysed, followed by classification experiments using DT and kNN. Model performance was evaluated using accuracy, precision, recall, and F1-score. Evaluation results showed that the Decision Tree algorithm delivered the best performance, achieving a perfect score of 98.19% accuracy, 98.23% precision, 98.19% recall, and a 98.12% F1-score. Meanwhile, the KNN algorithm achieved 98.19% accuracy, 98.23% precision, 98.19% recall, and a 98.12% F1 Score. These findings suggest that the Decision Tree model is more effective for classifying customer loyalty and can be utilised as a decision support tool in identifying potential at-risk learners.

Author Biographies

Mohd Hafizan Musa, Universiti Teknikal Malaysia Melaka

Mohd Hafizan Musa received his Bachelor of Information Technology (BIT) degree in Networking from Universiti Utara Malaysia (UUM) in 2010 and his Master of Computer Science (MSc) in Database Technology from Universiti Teknikal Malaysia Melaka (UTeM) in 2012. He has several years of industry experience in data warehousing, UNIX environment management, and business intelligence operations. He is currently a lecturer at the Universiti Teknologi MARA (UiTM), Johor Branch, Segamat, under the Faculty of Computer and Mathematical Sciences. He is currently a postgraduate student at Universiti Teknikal Malaysia Melaka (UTeM). His research interests include database technology, big data, machine learning, and business analytics. He can be contacted via email at [email protected] or [email protected].

Dr. Mohd Adili, Universiti Teknikal Malaysia Melaka

Mohd Adili Norasikin is a Senior Lecturer at the Fakulti Teknologi Maklumat & Komunikasi, Universiti Teknikal Malaysia Melaka (UTeM). He obtained his Bachelor of Computer Science (Interactive Media) from UTeM in 2009, followed by a Master of Computer Science from Universiti Putra Malaysia (UPM) in 2012. He later earned his Ph.D. from the University of Sussex in 2020. His research focuses on Novel Interactive Systems, Physical Computing, Ultrasonic Haptic Technologies, Computational Interaction, Applied AI, and Extended Reality (XR). He can be contacted at email: [email protected].

Dr. Azizul, Kolej Komuniti Segamat

Azizul Mohd Yusoff is a Senior Lecturer at Kolej Komuniti Segamat, Kementerian Pengajian Tinggi. He graduated with a Bachelor of Engineering (Computer System and Communication) from Universiti Putra Malaysia (2002), majoring in Telecommunication. He obtained his Master of Science in Information and Communication Technology from Universiti Teknikal Malaysia Melaka (UTeM) in 2020. In 2025, he is awarded his PhD Degree from Universiti Teknikal Malaysia Melaka (UTeM). In addition, he holds a Diploma in Education from Institut Perguruan Perlis (2008). His current research focuses on E-learning, Gamification, Micro-Credential and Multimedia Design. He can be contacted at email: [email protected] .

Downloads

Published

2026-04-30

How to Cite

Salam, S., Musa, M. H., Norasikin, M. A., Abdullah, A. N. H., Mohd Yusoff, A., & Lestari, U. (2026). Classifying MOOC Students Using k-Nearest Neighbors and Decision Trees for Early Detection of At-Risk Learners. Journal of Informatics and Interactive Technology, 3(1), 540–546. https://doi.org/10.63547/jiite.v3i1.141

Issue

Section

Articles